pwshub.com

The Real Python Podcast – Episode #223: Exploring the New Features of Python 3.13

Real Python Podcast Episode #223 Title Artwork

The Real Python Podcast

Oct 11, 2024 55m

Python 3.13 is here! Our regular guests, Geir Arne Hjelle and Christopher Trudeau, return to discuss the new version. This year, Geir Arne coordinated a series of preview articles with members of the Real Python team and a showcase tutorial, “Python 3.13: Cool New Features for You to Try.” Christopher’s video course “What’s New in Python 3.13” covers the topics from the article and shows the new features in action.

Episode Sponsor:

Geir Arne and Christopher dug into the release to create code examples of the new features for the tutorial and course. We look at the options for disabling the Global Interpreter Lock (GIL) and enabling the Just-in-Time (JIT) compiler. We also discuss the new interactive interpreter, better error messages, multiple improvements to static typing, and additional performance improvements.

We share our thoughts on the updates and offer advice about incorporating them into your projects. We also discuss when you should start running Python 3.13.

This is episode is sponsored by Nvidia.

Topics:

  • 00:00:00 – Introduction
  • 00:03:14 – A Modern REPL
  • 00:08:54 – Making the Global Interpreter Lock Optional in CPython
  • 00:11:33 – JIT Compilation
  • 00:15:48 – More improved error messages
  • 00:18:30 – Sponsor: NVIDIA
  • 00:19:13 – Marking deprecations using the type system
  • 00:21:09 – Type Defaults for Type Parameters
  • 00:22:44 – Narrowing types with TypeIs
  • 00:25:24 – TypedDict: Read-only items
  • 00:27:50 – Random command line interface
  • 00:29:54 – New copy.replace()
  • 00:33:43 – Video Course Spotlight
  • 00:34:55 – Pathlib and globbing
  • 00:39:33 – Stripping docstrings
  • 00:41:28 – Import improvements
  • 00:41:56 – Dynamically import non-code files
  • 00:42:23 – Adding iOS as a supported platform
  • 00:43:32 – More consistency with local namespace
  • 00:44:30 – Support for deprecation in argparse
  • 00:45:00 – Better entry points for breakpoint or set_trace
  • 00:46:08 – Removing dead batteries
  • 00:47:43 – When to upgrade to 3.13?
  • 00:53:19 – core.py podcast
  • 00:54:14 – Thanks and goodbye

Show Links:

Level Up Your Python Skills With These Courses:

Source: realpython.com

Related stories
1 month ago - Are you interested in practicing your Python skills while learning how to solve astrophysics and astronomy problems? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects.
1 month ago - How do you take advantage of Git pre-commit hooks? How do you build custom software checks and rules that run every time you commit your code? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly...
3 weeks ago - What are strategies for being a productive developer with ADHD? How can you help your team members with ADHD to succeed and complete projects? This week on the show, we speak with Chris Ferdinandi about his website and podcast "ADHD For...
2 weeks ago - Should you use a Python virtual environment in a Docker container? What are the advantages of using the same development practices locally and inside a container? Christopher Trudeau is back on the show this week, bringing another batch...
1 month ago - Are you interested in learning robotics with Python? Can physical electronics-based projects grow a child's interest in coding? This week on the show, we speak with author Marwan Alsabbagh about his book "Build Your Own Robot - Using...
Other stories
9 minutes ago - Databases play a vital role in the development of applications across mobile and web platforms. Adequate knowledge of data interactions between the application structure and the database is essential for storing relevant application data....
3 hours ago - Calculate the ROI of your Applicant Tracking System (ATS) with this guide and make data-driven decisions about your HR technology strategy. The post How to Calculate the ROI of an ATS appeared first on Geekflare.
6 hours ago - VPS (Virtual Private Server) hosting helps businesses host websites, eCommerce, and digital services, as it provides a scalable yet affordable hosting option. It utilizes virtualization technology to break physical servers into multiple...
7 hours ago - SEO monitoring tools are essential for tracking website performance, identifying issues, and optimizing search rankings by providing real-time data and insights. They provide valuable insights into keyword effectiveness, competitor...
9 hours ago - Sarah Jacob shares how great products need to be supplemented with excellent storytelling, messaging, value propositions, and go-to-market. The post Leader Spotlight: Why building great products isn’t enough, with Sarah Jacob appeared...