Python 3.12 release: The BIGGEST in 15 years



Python 3.12 release: The BIGGEST in 15 years

Python 3.12 release: The BIGGEST in 15 years

Python 3.12 is easily the biggest release since…well, perhaps 3.0! It’s packed full of game-changing features and improvements, and I can’t wait to tell you about them!

Below is a list of chapters cited against any relevant references which you’ll find further down. It’s absolutely worth doing further reading using these if you want to learn more!

Chapters:
0:00 – Intro
0:21 – A per-interpreter GIL [1-5]
1:59 – Performance improvements [6]
2:39 – Syntactic formalisation of f-strings [6-8]
3:11 – Type parameter syntax [9]
3:38 – Override decorator [10-11]
4:06 – Using TypedDict for more precise **kwargs typing [12]
4:28 – Double Standards! [6, 13]
6:22 – Removals [6, 14-15]
6:56 – Deprecations [6, 16]
7:19 – Outro

References:
[1] https://docs.python.org/3/whatsnew/3.11.html
[2] https://peps.python.org/pep-0684
[3] https://www.artima.com/weblogs/viewpost.jsp?thread=214235
[4] https://wiki.python.org/moin/GlobalInterpreterLock
[5] https://peps.python.org/pep-0554
[6] https://docs.python.org/3.12/whatsnew/3.12.html
[7] https://peps.python.org/pep-0701
[8] https://peps.python.org/pep-0617
[9] https://peps.python.org/pep-0695
[10] https://peps.python.org/pep-0698
[11] https://pypi.org/project/overrides
[12] https://peps.python.org/pep-0692
[13] https://docs.python.org/3.12/library/itertools.html#itertools.batched
[14] https://setuptools.pypa.io/en/latest/pkg_resources.html
[15] https://peps.python.org/pep-0623
[16] https://docs.python.org/3.12/library/tarfile.html#tarfile-extraction-filter

If you enjoy my content, consider supporting me on Patreon or becoming a member!
https://patreon.carberra.xyz
https://join.carberra.xyz

If you need help with anything, feel free to join the Discord server:
https://discord.carberra.xyz

I get a lot of people asking, so here’s my Visual Studio Code setup!
https://youtu.be/Kk5h6Yxflmw

If you have any questions, don’t hesitate to ask in the comments! I’ll try and answer as soon as I can, providing someone else hasn’t already done so.

#python #coding #howto

Comments are closed.