Python 3.7.8rc1 and 3.6.11rc1 are now available. 3.7.8rc1 is the release preview of the next bugfix release of Python 3.7; 3.6.11rc1 is the release preview of the next security-fix release of Python 3.6. Assuming no critical problems are found prior to 2020-06-27, no code changes are planned between these release candidates and the final releases. These release candidates are intended to give you the opportunity to test the new security and bug fixes in 3.7.8 and security fixes in 3.6.11. While we strive to not introduce any incompatibilities in new bugfix and security releases, we encourage you to test your projects and report issues found to bugs.python.org as soon as possible. Please keep in mind that these are preview releases and, thus, their use is not recommended for production environments.
You can find the release files, a link to their changelogs, and more information here:
Wednesday, June 17, 2020
Sunday, June 14, 2020
Python 3.9.0b3 is now available for testing
On behalf of the entire Python development community, and the currently serving Python release team in particular, I’m pleased to announce the release of Python 3.9.0b3. Get it here:
https://www.python.org/downloads/release/python-390b3/
Wait, Beta 3? What happened to Beta 2?
Beta 2? Speak of him no more. We disappeared him. He was a bad release. Truly awful. I get shivers just thinking about it. Never mention that name again in this house.I mean, long story short, in Beta 2 you couldn’t do
urllib.request.urlopen("https://www.python.org").read() because it wouldn’t find root certificates due to a bug.
Since this was a problem only apparent on an installed Python, it
wasn’t identified by unit tests and was only found by Ned while he was
testing his Mac installer. By the time we learned of the severity of the
bug I already tagged and published the release on python.org. That’s why we couldn’t just re-do the release under the same version.Sorry for the trouble. We’re tweaking our release process to catch this problem sooner in future releases. Now, back to regular programming…
This is a beta preview of Python 3.9
Python 3.9 is still in development. This release, 3.9.0b3, is the third of five planned beta release previews.Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release.
Call to action
We strongly encourage maintainers of third-party Python projects to test with 3.9 during the beta phase and report issues found to the Python bug tracker as soon as possible. While the release is planned to be feature complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (2020-08-10). Our goal is have no ABI changes after beta 5 and as few code changes as possible after 3.9.0rc1, the first release candidate. To achieve that, it will be extremely important to get as much exposure for 3.9 as possible during the beta phase.Please keep in mind that this is a preview release and its use is not recommended for production environments.
Major new features of the 3.9 series, compared to 3.8
Some of the new major new features and changes in Python 3.9 are:-
PEP 584, Union Operators in
dict
-
PEP 585, Type Hinting Generics In Standard Collections
-
PEP 593, Flexible function and variable annotations
-
PEP 602, Python adopts a stable annual release cadence
-
PEP 615, Support for the IANA Time Zone Database in the Standard Library
-
PEP 616, String methods to remove prefixes and suffixes
-
PEP 617, New PEG parser for CPython
-
BPO 38379, garbage collection does not block on resurrected objects;
-
BPO 38692, os.pidfd_open added that allows process management without races and signals;
-
BPO 39926, Unicode support updated to version 13.0.0;
-
BPO 1635741, when Python is initialized multiple times in the same process, it does not leak memory anymore;
-
A number of Python builtins (range, tuple, set, frozenset, list, dict) are now sped up using PEP 590 vectorcall;
-
A number of Python modules (_abc, audioop, _bz2, _codecs,
_contextvars, _crypt, _functools, _json, _locale, operator, resource,
time, _weakref) now use multiphase initialization as defined by PEP 489;
-
A number of standard library modules (audioop, ast, grp, _hashlib,
pwd, _posixsubprocess, random, select, struct, termios, zlib) are now
using the stable ABI defined by PEP 384.
-
(Hey, fellow core developer, if a feature you find important is missing from this list, let Łukasz know.)
More resources
- Online Documentation
- PEP 596, 3.9 Release Schedule
- Report bugs at https://bugs.python.org.
- Help fund Python and its community.
Ned Deily @nad
Steve Dower @steve.dower
Łukasz Langa @ambv
Tuesday, May 19, 2020
Python 3.9.0b1 is now available for testing
On behalf of the entire Python development community, and the currently
serving Python release team in particular, I’m pleased to announce the
release of Python 3.9.0b1. Get it here:
https://www.python.org/downloads/release/python-390b1/
Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release.
Please keep in mind that this is a preview release and its use is not recommended for production environments.
Ned Deily @nad
Steve Dower @steve.dower
Łukasz Langa @ambv
https://www.python.org/downloads/release/python-390b1/
This is a beta preview of Python 3.9
Python 3.9 is still in development. This release, 3.9.0b1, is the first of four planned beta release previews.Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release.
Call to action
We strongly encourage maintainers of third-party Python projects to test with 3.9 during the beta phase and report issues found to the Python bug tracker as soon as possible. While the release is planned to be feature complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (2020-08-10). Our goal is have no ABI changes after beta 4 and as few code changes as possible after 3.9.0rc1, the first release candidate. To achieve that, it will be extremely important to get as much exposure for 3.9 as possible during the beta phase.Please keep in mind that this is a preview release and its use is not recommended for production environments.
Major new features of the 3.9 series, compared to 3.8
Some of the new major new features and changes in Python 3.9 are:-
PEP 584, Union Operators in
dict
-
PEP 585, Type Hinting Generics In Standard Collections
-
PEP 593, Flexible function and variable annotations
-
PEP 602, Python adopts a stable annual release cadence
-
PEP 616, String methods to remove prefixes and suffixes
-
PEP 617, New PEG parser for CPython
-
BPO 38379, garbage collection does not block on resurrected objects;
-
BPO 38692, os.pidfd_open added that allows process management without races and signals;
-
BPO 39926, Unicode support updated to version 13.0.0;
-
BPO 1635741, when Python is initialized multiple times in the same process, it does not leak memory anymore;
-
A number of Python builtins (range, tuple, set, frozenset, list, dict) are now sped up using PEP 590 vectorcall;
-
A number of Python modules (_abc, audioop, _bz2, _codecs,
_contextvars, _crypt, _functools, _json, _locale, operator, resource,
time, _weakref) now use multiphase initialization as defined by PEP 489;
-
A number of standard library modules (audioop, ast, grp, _hashlib,
pwd, _posixsubprocess, random, select, struct, termios, zlib) are now
using the stable ABI defined by PEP 384.
-
(Hey, fellow core developer, if a feature you find important is missing from this list, let Łukasz know.)
More resources
- Online Documentation
- PEP 596, 3.9 Release Schedule
- Report bugs at https://bugs.python.org.
- Help fund Python and its community.
Ned Deily @nad
Steve Dower @steve.dower
Łukasz Langa @ambv
Thursday, May 14, 2020
Python 3.8.3 is now available
On behalf of the entire Python development community, and the currently serving Python release team in particular, I’m pleased to announce the release of Python 3.8.3, the third maintenance release of Python 3.8. You can find it here:
It contains two months worth of bug fixes. Detailed information about all changes made in 3.8.3 can be found in its change log. Note that compared to 3.8.2, version 3.8.3 also contains the changes introduced in 3.8.3rc1.
The Python 3.8 series is the newest feature release of the Python language, and it contains many new features and optimizations. See the “What’s New in Python 3.8” document for more information about features included in the 3.8 series.
Maintenance releases for the 3.8 series will continue at regular bi-monthly intervals, with 3.8.4 planned for mid-July 2020.
One more thing
Unless blocked on any critical issue, Monday May 18th will be the release date of Python 3.9.0 beta 1. It’s a special release because this is when we lock the feature set for Python 3.9. If you can help testing the current available alpha release, that would be very helpful:
We hope you enjoy the new Python release!
Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation.
Your friendly release team,
Ned Deily @nad
Steve Dower @steve.dower
Łukasz Langa @ambv
Thursday, April 30, 2020
Pip 20.1 has been released
On behalf of the PyPA, I am pleased to announce that a new version of pip, pip 20.1, has been released.
To install pip 20.1, you can run:
This release also contains an alpha version of pip's next generation resolver. It is off by default because it is unstable and not ready for everyday use. If you're curious about this, please visit this GitHub issue about the resolver, what doesn't work yet, and what kind of testing would help us out. We plan to release a version of pip that includes a beta of the new resolver in May.
The full changelog is available.
As with all pip releases, a significant amount of the work was contributed by pip's user community. Huge thanks to all who have contributed, whether through code, documentation, issue reports and/or discussion. Your help keeps pip improving, and is hugely appreciated.
Thank you to the pip and PyPA maintainers, and to all the contributors and volunteers who work on or use Python packaging tools.
And thank you to Mozilla (through its Mozilla Open Source Support Awards) and to the Chan Zuckerberg Initiative DAF, an advised fund of Silicon Valley Community Foundation, for funding enabling work on the new resolver, and thanks to the PSF and the Packaging WG for obtaining and administering that funding.
To install pip 20.1, you can run:
python -m pip install --upgrade pipThe highlights for this release are:
- Significant speedups when building local directories, by changing behavior to perform in-place builds, instead of copying to temporary directories.
- Significant speedups in
pip list --outdated, by parallelizing network access. This is the first instance of parallel code within pip's codebase. - A new
pip cachecommand, which makes it possible to introspect and manage pip's cache directory. - Better
pip freezefor packages installed from direct URLs, enabled by the implementation of PEP 610.
This release also contains an alpha version of pip's next generation resolver. It is off by default because it is unstable and not ready for everyday use. If you're curious about this, please visit this GitHub issue about the resolver, what doesn't work yet, and what kind of testing would help us out. We plan to release a version of pip that includes a beta of the new resolver in May.
The full changelog is available.
As with all pip releases, a significant amount of the work was contributed by pip's user community. Huge thanks to all who have contributed, whether through code, documentation, issue reports and/or discussion. Your help keeps pip improving, and is hugely appreciated.
Thank you to the pip and PyPA maintainers, and to all the contributors and volunteers who work on or use Python packaging tools.
And thank you to Mozilla (through its Mozilla Open Source Support Awards) and to the Chan Zuckerberg Initiative DAF, an advised fund of Silicon Valley Community Foundation, for funding enabling work on the new resolver, and thanks to the PSF and the Packaging WG for obtaining and administering that funding.
Tuesday, April 28, 2020
Python 3.9.0a6 is now available for testing
On behalf of the entire Python development community, and the currently serving Python release team in particular, I’m pleased to announce the release of Python 3.9.0a6. Get it here:
https://www.python.org/downloads/release/python-390a6/
Your friendly release team,
Ned Deily @nad
Steve Dower @steve.dower
Łukasz Langa @ambv
https://www.python.org/downloads/release/python-390a6/
This is an early developer preview of Python 3.9
Python 3.9 is still in development. This release, 3.9.0a6, is the last out of six planned alpha releases. Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process. During the alpha phase, features may be added up until the start of the beta phase (2020-05-18) and, if necessary, may be modified or deleted up until the release candidate phase (2020-08-10). Please keep in mind that this is a preview release and its use is not recommended for production environments.Major new features of the 3.9 series, compared to 3.8
Many new features for Python 3.9 are still being planned and written. Among the new major new features and changes so far:- PEP 584, Union Operators in
dict - PEP 585, Type Hinting Generics In Standard Collections
- PEP 593, Flexible function and variable annotations
- PEP 602, Python adopts a stable annual release cadence
- PEP 616, String methods to remove prefixes and suffixes
- PEP 617, New PEG parser for CPython
- BPO 38379, garbage collection does not block on resurrected objects;
- BPO 38692, os.pidfd_open added that allows process management without races and signals;
- BPO 39926, Unicode support updated to version 13.0.0
- BPO 1635741, when Python is initialized multiple times in the same process, it does not leak memory anymore
- A number of Python builtins (range, tuple, set, frozenset, list) are now sped up using PEP 590 vectorcall
- A number of standard library modules (audioop, ast, grp, _hashlib, pwd, _posixsubprocess, random, select, struct, termios, zlib) are now using the stable ABI defined by PEP 384.
- (Hey, fellow core developer, if a feature you find important is missing from this list, let Łukasz know.)
Your friendly release team,
Ned Deily @nad
Steve Dower @steve.dower
Łukasz Langa @ambv
Monday, April 20, 2020
Python 2.7.18, the last release of Python 2
The CPython core developers are pleased to announce the immediate availability of Python 2.7.18.
Python 2.7.18 is the last Python 2.7 release and therefore the last Python 2 release. It's time for the CPython community to say a fond but firm farewell to Python 2.
Download this unique, commemorative Python release on python.org.
Python 2.7 has been under active development since the release of Python 2.6, more than 11 years ago. Over all those years, CPython's core developers and contributors sedulously applied bug fixes to the 2.7 branch, no small task as the Python 2 and 3 branches diverged. There were large changes midway through Python 2.7's life such as PEP 466's feature backports to the ssl module and hash randomization. Traditionally, these features would never have been added to a branch in maintenance mode, but exceptions were made to keep Python 2 users secure. Thank you to CPython's community for such dedication.
Python 2.7 was lucky to have the services of two generations of binary builders and operating system experts, Martin von Löwis and Steve Dower for Windows, and Ronald Oussoren and Ned Deily for macOS. The reason we provided binary Python 2.7 releases for macOS 10.9, an operating system obsoleted by Apple 4 years ago, or why the "Microsoft Visual C++ Compiler for Python 2.7" exists is the dedication of these individuals.
Python 3 would be nowhere without the dedication of the wider community. Library maintainers followed CPython by maintaining Python 2 support for many years but also threw their weight behind the Python 3 statement. Linux distributors chased Python 2 out of their archives. Users migrated hundreds of millions of lines of code, developed porting guides, and kept Python 2 in their brain while Python 3 gained 10 years of improvements.
Finally, thank you to GvR for creating Python 0.9, 1, 2, and 3.
Long live Python 3+!
Python 2.7.18 is the last Python 2.7 release and therefore the last Python 2 release. It's time for the CPython community to say a fond but firm farewell to Python 2.
Download this unique, commemorative Python release on python.org.
Python 2.7 has been under active development since the release of Python 2.6, more than 11 years ago. Over all those years, CPython's core developers and contributors sedulously applied bug fixes to the 2.7 branch, no small task as the Python 2 and 3 branches diverged. There were large changes midway through Python 2.7's life such as PEP 466's feature backports to the ssl module and hash randomization. Traditionally, these features would never have been added to a branch in maintenance mode, but exceptions were made to keep Python 2 users secure. Thank you to CPython's community for such dedication.
Python 2.7 was lucky to have the services of two generations of binary builders and operating system experts, Martin von Löwis and Steve Dower for Windows, and Ronald Oussoren and Ned Deily for macOS. The reason we provided binary Python 2.7 releases for macOS 10.9, an operating system obsoleted by Apple 4 years ago, or why the "Microsoft Visual C++ Compiler for Python 2.7" exists is the dedication of these individuals.
Python 3 would be nowhere without the dedication of the wider community. Library maintainers followed CPython by maintaining Python 2 support for many years but also threw their weight behind the Python 3 statement. Linux distributors chased Python 2 out of their archives. Users migrated hundreds of millions of lines of code, developed porting guides, and kept Python 2 in their brain while Python 3 gained 10 years of improvements.
Finally, thank you to GvR for creating Python 0.9, 1, 2, and 3.
Long live Python 3+!
Subscribe to:
Posts (Atom)

