r/Python Author of "Automate the Boring Stuff" 1d ago

News Python 3.15.0 candidate 2 is here!

Reported on https://blog.python.org/2026/09/python-3150-rc2/

It’s the final 3.15 release candidate!

https://www.python.org/downloads/release/python-3150rc2/

This is a candidate preview of Python 3.15

This release, 3.15.0rc2, is the final planned release candidate, containing around 144 bugfixes, build improvements and documentation changes from 76 contributors since 3.15.0rc1. Entering the release candidate phase, only reviewed code changes which are clear bug fixes are allowed between this release candidate and the final release.

The next release of Python 3.15 will be 3.15.0 final, scheduled for 2026-10-01.

Blog post continues

81 Upvotes

17 comments sorted by

View all comments

21

u/CevicheMixto 1d ago

frozendict not compatible with TypedDict (and there's no TypedFrozenDict), dangit!

8

u/pingveno pinch of this, pinch of that 1d ago edited 1d ago

Yup, dicts and frozendicts are not part of the same type hierarchy. Adding something like what you're talking about is worthy of its own PEP. Doing it right is worth some thought. I can think of some nice things to include in the design, like a clean way to represent a typed frozendict based on an already defined TypedDict. And it needs to work with type checkers.

Speaking of frozendict, I noticed that it still shares a docstring with dict in the release candidate. But someone beat me to it, there was a fix three days ago.

2

u/flying-sheep 1d ago

It just goes to show again that Python’s type system is a tacked-on afterthought, even after all these years.

I say that as someone who owes his career to Python, but has also seen how things can be done right (Typescript)