
Oct 11, 2024 55m
Python 3.13 is right here! Our common friends, Geir Arne Hjelle and Christopher Trudeau, return to debate the brand new model. This yr, Geir Arne coordinated a collection of preview articles with members of the Actual Python staff and a showcase tutorial, “Python 3.13: Cool New Options for You to Attempt.” Christopher’s video course “What’s New in Python 3.13” covers the subjects from the article and reveals the brand new options in motion.
Episode Sponsor:
Geir Arne and Christopher dug into the discharge to create code examples of the brand new options for the tutorial and course. We take a look at the choices for disabling the International Interpreter Lock (GIL) and enabling the Simply-in-Time (JIT) compiler. We additionally focus on the brand new interactive interpreter, higher error messages, a number of enhancements to static typing, and extra efficiency enhancements.
We share our ideas on the updates and supply recommendation about incorporating them into your initiatives. We additionally focus on when you need to begin operating Python 3.13.
That is episode is sponsored by Nvidia.
Course Highlight: What’s New in Python 3.13
On this video course, you’ll be taught in regards to the new options in Python 3.13. You’ll take a tour of the brand new REPL and error messages and see how one can check out the experimental free threading and JIT variations of Python 3.13 your self.
Subjects:
- 00:00:00 – Introduction
- 00:03:14 – A Fashionable REPL
- 00:08:54 – Making the International Interpreter Lock Optionally available in CPython
- 00:11:33 – JIT Compilation
- 00:15:48 – Extra improved error messages
- 00:18:30 – Sponsor: NVIDIA
- 00:19:13 – Marking deprecations utilizing the kind system
- 00:21:09 – Kind Defaults for Kind Parameters
- 00:22:44 – Narrowing varieties with TypeIs
- 00:25:24 – TypedDict: Learn-only gadgets
- 00:27:50 – Random command line interface
- 00:29:54 – New copy.exchange()
- 00:33:43 – Video Course Highlight
- 00:34:55 – Pathlib and globbing
- 00:39:33 – Stripping docstrings
- 00:41:28 – Import enhancements
- 00:41:56 – Dynamically import non-code information
- 00:42:23 – Including iOS as a supported platform
- 00:43:32 – Extra consistency with native namespace
- 00:44:30 – Assist for deprecation in argparse
- 00:45:00 – Higher entry factors for breakpoint or set_trace
- 00:46:08 – Eradicating lifeless batteries
- 00:47:43 – When to improve to three.13?
- 00:53:19 – core.py podcast
- 00:54:14 – Thanks and goodbye
Present Hyperlinks: