r/Python • u/nicholashairs • Oct 20 '26
Resource Summary of Major Changes Between Python Versions (2026 Update)
Hi r/python π
Another year, another version of Python, and yet more features to guess which version of Python they belong to π΅βπ«
I've updated my "one page" Summary of Major Changes Between Python Versions for Python 3.15 and hope that it continues to be a useful resource for the community π
This summary is human typed/copied from the official release notes.
7
u/Hesirutu Oct 20 '26
Typo:Β sentinal
8
u/nicholashairs Oct 20 '26
π€¦ββοΈ I don't even know how I managed to make that typo happen... I even remember fixing a misspelling when it originally read "Sentinels".
Which even now my phone dictionary is like "did you mean Sentinals?"
Well at least you know it's natural stupidity instead of AI.
4
u/SuggestionUpbeat2443 Oct 20 '26
> Compact annotion of generic classes and functions
Noticed this one too, but love this!
2
6
u/deadeye_82_1 Oct 20 '26
Huh, i didn't know that iterable unpacking is allowed in for-loops:
for x in *a, *b:
print(x)8
6
u/Khavel_dev Oct 20 '26
The 3.10 to 3.11 jump was the one that actually changed my daily work. The speed improvements and the much better error messages made an immediate difference without touching any code. 3.12's f-string changes (nested quotes, backslashes) sound minor but they removed a bunch of ugly workarounds I had everywhere. Good resource, bookmarked.
3
u/Trang0ul Oct 20 '26
Nice compilation, thank you! Besides admiring how Python has (and is) evolving, it can be used as a handy reference for updating old code.
2
2
2
u/RevRagnarok Oct 20 '26
Thanks; very useful! I jumped from 2.7 to like 3.9 so was reading up on a few things like contextvars that don't seem to be very mainstream and I never saw them being announced.
2
2
2
3
u/OpenComplaint524 Oct 20 '26
This summary is super handy, especially for keeping track of recent syntax changes and performance improvements. Bookmarked, thanks for putting this together!
3
u/victotronics Oct 20 '26
TIL "self-documenting f-strings".
Thanks!
2
u/RevRagnarok Oct 20 '26
Great for debug, but then not as useful if you decide to enforce "no f-strings in logging calls" which is generally a good policy... :/
0
0
33
u/Matthew_Summons Oct 20 '26
I think itβd be easier to read if the latest versions were on top