What’s new in Python 3.15¶
- Editor:
TBD
This article explains the new features in Python 3.15, compared to 3.14.
For full details, see the changelog.
Note
Prerelease users should be aware that this document is currently in draft form. It will be updated substantially as Python 3.15 moves towards release, so it’s worth checking back even after reading earlier versions.
Summary — release highlights¶
New features¶
Other language changes¶
New modules¶
None yet.
Improved modules¶
module_name¶
TODO
Optimizations¶
module_name¶
TODO
Deprecated¶
module_name: TODO
Removed¶
module_name¶
TODO
Porting to Python 3.15¶
This section lists previously described changes and other bugfixes that may require changes to your code.
Build changes¶
C API changes¶
New features¶
TODO
Porting to Python 3.15¶
sqlite3.Connection
APIs has been cleaned up.All parameters of
sqlite3.connect()
except database are now keyword-only.The first three parameters of methods
create_function()
andcreate_aggregate()
are now positional-only.The first parameter of methods
set_authorizer()
,set_progress_handler()
andset_trace_callback()
is now positional-only.
(Contributed by Serhiy Storchaka in gh-133595.)
Deprecated C APIs¶
TODO
Removed C APIs¶
PyImport_ImportModuleNoBlock()
: deprecated alias ofPyImport_ImportModule()
.