What's new in Python 3.13?

Published: 07 May 2024
on channel: Carberra
84,821
1.8k

The Python 3.13 beta has been released, meaning the feature freeze is now active. This is the perfect time to take a minute to see what's new and upcoming in the release, so let's dive into it!

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:30 - JIT compilation [1-3]
1:29 - Adding iOS as a supported platform [4-5]
1:49 - Improved error messages [6-7]
2:11 - Marking deprecations using the type system [8]
2:30 - Deferred evaluation of annotations using descriptors [9-10]
3:17 - Narrowing types with TypeIs [11]
3:52 - Things no longer coming to 3.13 [12-13]
4:06 - Quickfire cool stuff! [14]
4:42 - Outro

References:
[1] https://peps.python.org/pep-0744
[2] https://tonybaloney.github.io/posts/p...
[3] https://dl.acm.org/doi/10.1145/3485513
[4] https://peps.python.org/pep-0730
[5] https://peps.python.org/pep-0738
[6]    • Python now has COLOURED tracebacks  
[7] https://docs.python.org/3.13/whatsnew...
[8] https://github.com/python/cpython/blo...
[9] https://peps.python.org/pep-0563
[10] https://peps.python.org/pep-0649
[11] https://peps.python.org/pep-0742
[12] https://peps.python.org/pep-0734
[13] https://peps.python.org/pep-0712
[14] https://docs.python.org/3.13/whatsnew...



If you enjoy my content, consider supporting me on Patreon or becoming a member!
• Patreon:   / carberra  
• Membership:    / @carberra  

Follow me elsewhere for even more Carberra!
• Discord:   / discord  
• Instagram:   / carberratutorials  

I get a lot of people asking, so here's my setup!
• Visual Studio Code:    • My Visual Studio Code setup! (2024)  
• Terminal:    • Make your terminal look AMAZING  



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


Watch video What's new in Python 3.13? online, duration hours minute second in high quality that is uploaded to the channel Carberra 07 May 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 84,821 times and liked it 1.8 thousand visitors.