The Real Python Podcast

Improving Python Through PEPs and Protocols


Listen Later

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.

Course Spotlight: Tapping Into the Zen of Python

Explore the Zen of Python and its 19 guiding principles for writing readable, practical code. Learn its history, jokes, and meaning.

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:

    • Tall, Snarky Canadian
    • PEP 794 – Import Name Metadata
    • Towards fixing Python project names and import modules - Goran et al.
    • PEP 816 – WASI Support
    • State of WASI support for CPython: March 2026
    • PEP 11 – CPython platform support
    • PEP 816: How Python is getting serious about WASM - InfoWorld
    • PEP 832 – Virtual environment discovery
    • Discussions on Python.org - PEP 832: virtual environment discovery
    • Type Server Protocol = Abstract out type information
    • type-server-protocol.md - GitHub - microsoft/pylance-release
    • Frequently Asked Questions - Open Source by Brett Cannon
    • Brett Cannon - mastodon.social
    • Level up your Python skills with our expert-led courses:

      • uv vs pip: Python Packaging and Dependency Management
      • Tapping Into the Zen of Python
      • Writing Beautiful Pythonic Code With PEP 8
      • Support the podcast & join our community of Pythonistas

        ...more
        View all episodesView all episodes
        Download on the App Store

        The Real Python PodcastBy Real Python

        • 4.7
        • 4.7
        • 4.7
        • 4.7
        • 4.7

        4.7

        139 ratings


        More shows like The Real Python Podcast

        View all
        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        288 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        626 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        583 Listeners

        Soft Skills Engineering by Jamison Dance and Dave Smith

        Soft Skills Engineering

        287 Listeners

        Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

        Super Data Science: ML & AI Podcast with Jon Krohn

        306 Listeners

        Python Bytes by Michael Kennedy and Brian Okken

        Python Bytes

        214 Listeners

        Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

        Syntax - Tasty Web Development Treats

        985 Listeners

        Darknet Diaries by Jack Rhysider

        Darknet Diaries

        8,077 Listeners

        Tech Brew Ride Home by Morning Brew

        Tech Brew Ride Home

        964 Listeners

        Practical AI by Practical AI LLC

        Practical AI

        212 Listeners

        AWS Podcast by Amazon Web Services

        AWS Podcast

        204 Listeners

        Django Chat by William Vincent and Carlton Gibson

        Django Chat

        75 Listeners

        Last Week in AI by Skynet Today

        Last Week in AI

        313 Listeners

        Machine Learning Street Talk (MLST) by Machine Learning Street Talk (MLST)

        Machine Learning Street Talk (MLST)

        101 Listeners

        The Pragmatic Engineer by Gergely Orosz

        The Pragmatic Engineer

        77 Listeners