Real Python Podcast Episode #129 Title Artwork

Episode 129: Using an Ellipsis in Python & Goals for CPython 3.12

The Real Python Podcast

Oct 14, 2022 56m

Where should you use an ellipsis in Python? How does it behave as a placeholder in a script, project, or stub file? What are the next goals for the Faster CPython project? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder’s Weekly articles and projects.

Episode Sponsor:

We talk about a Real Python article that covers when you should use an ellipsis in Python. We discuss the similarities with the pass keyword and how it’s used for type hints within stub files.

Christopher shares resources covering the goals of the Faster CPython project. We’re on the cusp of the release of Python 3.11, but the project keeps moving forward as they look at ways to continue speeding up Python.

We share several other articles and projects from the Python community, including a news roundup, alternatives for hosting Python-based applications, ways to create custom Python strings, a discussion about aging programmers, a structural diff that understands syntax, and a project for refurbishing and modernizing Python codebases.

Topics:

  • 00:00:00 – Introduction
  • 00:02:26 – Django security releases issued
  • 00:02:44 – PEP 698: Override Decorator for Static Typing
  • 00:03:37 – Heroku Alternatives for Python-Based Applications
  • 00:14:34 – Python 3.12 Goals: Faster-CPython Ideas Wiki
  • 00:20:29 – Sponsor: InfluxDB
  • 00:21:19 – When Do You Use an Ellipsis in Python?
  • 00:28:18 – Custom Python Strings: Inheriting From str vs UserString
  • 00:32:52 – Aging Programmer
  • 00:46:32 – Video Course Spotlight
  • 00:47:48 – difftastic: A Structural Diff That Understands Syntax
  • 00:50:44 – refurb: Refurbish and Modernize Python Codebases
  • 00:55:44 – Thanks and goodbye

News:

Show Links:

Discussion:

Projects:

Additional Links: