PEP 679: Allow Parentheses In Assert Statements

This pep proposes to allow parentheses surrounding the two-subject form of
assert statements. This will cause the interpreter to reinterpret what before
would have been an assert with a two-element tuple that will always be True
(assert (expression, me...

PEP 678: Enriching Exceptions With Notes

Exception objects are typically initialized with a message that describes the
error which has occurred. Because further information may be available when the
exception is caught and re-raised, this PEP proposes to add a .__note__
attribute and update ...

PEP 677: Callable Type Syntax

This PEP introduces a concise and friendly syntax for callable types,
supporting the same functionality as typing.Callable but with an
arrow syntax inspired by the syntax for typed function
signatures. This allows types like Callable[[int, str], bool] ...

PyPI User Feedback Summary

The PSF conducted a series of three surveys to identify key user requirements that have not been addressed so far. We used this round of surveys to engage with the PyPI community and understand ways to support community needs better. This post sum...

Python 3.11.0a3 Is Available

You can tell that we are slowly getting closer to the first beta as the number of release blockers that we need to fix on every release starts to increase  But we did it! new f...

Python 3.10.1 Is Available

I hope you like bug fixes, because we have a whole shipment of them! Python 3.10.1 is the first maintenance release of Python 3.10 as we have packed more than 330 commits of fixes and general improvements. You can get it here:

PEP 675: Arbitrary Literal Strings

There is currently no way to specify that a function parameter can be
of any literal string type; we have to specify the precise literal
string, such as Literal["foo"]. This PEP introduces a supertype of
literal string types: Literal[str]. This allows ...

Python 3.9.9 Hotfix Release Is Now Available

Get it here: 3.9.9 is the eighth maintenance release of the legacy 3.9 series. Python 3.10 is now the latest feature release series of Python 3. Get the latest release of 3.10.x here.
3.9.9 was...

PEP 673: Self Type

This PEP introduces a simple and intuitive way to annotate methods that return
an instance of their class. This behaves the same as the TypeVar-based
approach specified in PEP 484
but is more concise and easier to follow.

2021 End Of The Year Fundraiser!

Summary: The PSF launched its end-of-the-year fundraiser. There are two ways to donate: 1. donate directly to the PSF or 2. purchase a discounted PyCharm license, with all proceeds going to the PSF. Contributing to the PSF financially helps sustain pro...

Python 3.9.8 And 3.11.0a2 Are Now Available

Tcl/Tk updates
With the recent release of macOS 12 Monterey, we noticed that tkinter
file dialogs are failing to show up on this new operating system,
including in our built-in IDLE. Thanks to rapid help from the Tk team,
and Marc Culler in particul...

PEP 676: PEP Infrastructure Process

This PEP addresses the infrastructure around rendering PEP files from
reStructuredText files to HTML webpages. We aim to specify a self-contained
and maintainable solution for PEP readers, authors, and editors.

Python 3.11.0a1 Is Available

Now that we are on a release spree, here you have the first alpha release of Python 3.11: Python 3.11.0a1. Let the testing and validation games begin! new features of the 3.11 series...

Python 3.10.0 Is Available

On behalf of the Python development community and the Python 3.10 release team, I’m pleased to announce the availability of Python 3.10.0.Python 3.10.0 is the newest major release of the Python programming language, and it contains many new features an...

Python 3.10.0rc2 Is Available

Python 3.10 is one month away, can you believe it? This snake is still trying to bite as it has been an interesting day of fighting fires, release blockers, and a bunch of late bugs but your friendly release team always delivers You can get this n...

Python 3.9.7 And 3.8.12 Are Now Available

 Python 3.9.7
Get it here:

Python 3.9.7 is the newest major stable release of
the Python programming language, and it contains many new features and
optimizations. There’s b...

Python 3.10.0rc1 Is Available

Python 3.10.0 is almost ready. This release, 3.10.0rc1, is the penultimate release preview. You can get it here: release, **3.10.0rc1**, is the penultimate release preview.&nbsp...

Python 3.10.0b4 Is Available

Wow! A release on a Saturday? Do the release management team even rest? You better believe it, because this is the last of the planned beta releases. This means that the next pre-release will be the first release candidate of Python 3.10.0. Remember th...

Python 3.10.0b3 Is Available

Summer is almost here (at least in half of the planet) and Python 3.10 is finishing baking in the oven. For those of you that want to taste it before is finally ready (and if you are a library developer, you certainly do!) you can have the second-to-la...

Python 3.10.0b2 Is Available

After fighting with some release blockers, implementing a bunch of GC traversal functions, and fixing some pending reference leaks, we finally have Python 3.10.0 beta 2 ready for you! Thanks to everyone that helped to unblock the release!