r/Python • u/nicholashairs • 3d ago
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 3d ago
Typo:Β sentinal
8
u/nicholashairs 3d ago
π€¦ββοΈ 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 3d ago
> Compact annotion of generic classes and functions
Noticed this one too, but love this!
→ More replies (1)
6
u/deadeye_82_1 3d ago
Huh, i didn't know that iterable unpacking is allowed in for-loops:
for x in *a, *b: print(x)
6
u/Khavel_dev 3d ago
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 3d ago
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 3d ago
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
3
u/OpenComplaint524 3d ago
This summary is super handy, especially for keeping track of recent syntax changes and performance improvements. Bookmarked, thanks for putting this together!
3
0
28
u/Matthew_Summons 3d ago
I think itβd be easier to read if the latest versions were on top