The Real Python Podcast· Folge 297

Improving Python Through PEPs and Protocols

Freitag, 29. Mai 2026 · 1 h 20

MP3

Shownotes

<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<div class="alert alert-primary" role="alert">
<p><strong>Course Spotlight:</strong> <a href="realpython.com/courses/tapping-into-the-zen-of… Into the Zen of Python</a></p>
<p>Explore the Zen of Python and its 19 guiding principles for writing readable, practical code. Learn its history, jokes, and meaning.</p>
</div>
<p>Topics:</p>
<ul>
<li>00:00:00 – Introduction</li>
<li>00:02:01 – Prolific PEP creation</li>
<li>00:03:37 – Improving the future of Python through standards</li>
<li>00:09:30 – PEP 794 - Import Name Metadata</li>
<li>00:30:12 – PEP 816 - WASI (WebAssembly System Interface) Support</li>
<li>00:40:55 – Why the interest in WASI?</li>
<li>00:45:23 – Video Course Spotlight</li>
<li>00:47:07 – PEP 832 - Virtual Environment Discovery</li>
<li>01:10:02 – Type Server Protocol</li>
<li>01:17:41 – How can people follow your work online?</li>
<li>01:19:12 – Thanks and goodbye</li>
</ul>
<p>Show Links:</p>
<ul>
<li><a href="snarky.ca/">Tall, Snarky Canadian</a></li>
<li><a href="peps.python.org/pep-0794/">PEP 794 – Import Name Metadata</a></li>
<li><a href="jcgoran.github.io/2025/11/18/python-import-nam… fixing Python project names and import modules - Goran et al.</a></li>
<li><a href="peps.python.org/pep-0816/">PEP 816 – WASI Support</a></li>
<li><a href="snarky.ca/state-of-wasi-support-for-cpython-ma… of WASI support for CPython: March 2026</a></li>
<li><a href="peps.python.org/pep-0011/">PEP 11 – CPython platform support</a></li>
<li><a href="infoworld.com/article/4150052/how-python-is-ge… 816: How Python is getting serious about WASM - InfoWorld</a></li>
<li><a href="peps.python.org/pep-0832/">PEP 832 – Virtual environment discovery</a></li>
<li><a href="discuss.python.org/t/pep-832-virtual-environme… on Python.org - PEP 832: virtual environment discovery</a></li>
<li><a href="github.com/microsoft/pylance-release/discussio… Server Protocol = Abstract out type information</a></li>
<li><a href="github.com/microsoft/pylance-release/blob/main… - GitHub - microsoft/pylance-release</a></li>
<li><a href="opensource.snarky.ca/About+Me/Frequently+Asked… Asked Questions - Open Source by Brett Cannon</a></li>
<li><a href="mastodon.social/@brettcannon">Brett Cannon - mastodon.social</a></li>
</ul>
<p>Level up your Python skills with our expert-led courses:</p>
<ul>
<li><a href="realpython.com/courses/writing-beautiful-pytho… Beautiful Pythonic Code With PEP 8</a></li>
<li><a href="realpython.com/courses/uv-vs-pip-packaging-dep… vs pip: Python Packaging and Dependency Management</a></li>
<li><a href="realpython.com/courses/tapping-into-the-zen-of… Into the Zen of Python</a></li>
</ul> <p><a rel="payment" href="realpython.com/join">Support the podcast & join our community of Pythonistas</a></p>

0:00 / 0:00