Real Python Podcast E297 Title Image

Episode 297: Improving Python Through PEPs and Protocols

The Real Python Podcast

May 29, 2026 1h 20m intermediate community python web-dev

Have you ever been confused by the naming of modules you’re importing from a package? Is there a standard way to organize and name your Python virtual environments? This week on the show, Brett Cannon returns to discuss the Python Enhancement Proposals (PEPs) he’s been working on recently.

We start with PEP 794, which extends the metadata fields for Python packages to specify the import names a project provides. The metadata will help developers identify the correct project to install when they know the import name or the importable module names a project provides once installed.

We dive back into WebAssembly to discuss PEP 816, which specifies the WASI support in CPython releases. We also wade into the controversy around PEP 832, which proposes standards around naming and the discovery of virtual environments.

Brett shares his motivation for being a prolific author and supporter of PEPs. We discuss his promotion of standards and protocols to simplify the Python ecosystem for current and future developers.

Topics:

  • 00:00:00 – Introduction
  • 00:02:01 – Prolific PEP creation
  • 00:03:37 – Improving the future of Python through standards
  • 00:09:30 – PEP 794 - Import Name Metadata
  • 00:30:12 – PEP 816 - WASI (WebAssembly System Interface) Support
  • 00:40:55 – Why the interest in WASI?
  • 00:45:23 – Video Course Spotlight
  • 00:47:07 – PEP 832 - Virtual Environment Discovery
  • 01:10:02 – Type Server Protocol
  • 01:17:41 – How can people follow your work online?
  • 01:19:12 – Thanks and goodbye

Show Links: