Improving Python Through PEPs and Protocols | Real Python Podcast #297

Real Python · Beginner ·📐 ML Fundamentals ·1mo ago

Key Takeaways

Improving Python with PEPs and protocols

Original Description

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. 👉 Links from the show: https://realpython.com/podcasts/rpp/297/ 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 👉 Links from the show: https://realpython.com/podcasts/rpp/297/ Download your free Python Cheat Sheet here: https://realpython.com/cheatsheet Free Python Skill Test with instant level + learning plan: https://realpython.com/skill-test Want to learn faster? Become a Python Expert with unlimited access to 5,000+ tutorials, videos, and exercises: https://realpython.com/start 🐍 Become a Python expert wi
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

Up next
Learn Deep Learning by Hand (Beginner's Guide - Part 1)
Thu Vu
Watch →