The Real Python Podcast

The Real Python Podcast

By Real PythonTechnology
Download on the App Store

The Real Python Podcast episodes

  • Mentoring Developers Beyond the Code With Tim Schilling

    What’s it take to be a mentor to developers? Where in an engineer’s career can a mentor make an impact? This week we speak with Tim Schilling, Django Steering Council member and Djangonaut Space administrator, about mentoring Python developers.

    Tim shares his open-source background, his involvement in the Django community, and where mentoring shaped his own career. He also walks us through why he shifted the focus of his blog, Better Simple, to begin offering one-on-one mentorship.

    We dive into what makes a good mentor, the questions developers ask that go beyond Python syntax, and why humility is essential on both sides of the relationship. Tim talks about how writing and blogging helps to work through ideas and career struggles. He also shares several of the projects and events he’s excited about that are happening in the Django community.

    Spotlight: Learn With Mentor AI: A Guided Journey Through Async Python

    Experience a new way of learning on Real Python by working through async Python in conversation with Mentor AI, one well-placed question at a time.

    Free Kit: Want a mentor at your side while you learn? Get the Learn With Mentor AI Kit with a video course, cheat sheets, and a quiz that help you ask Mentor AI better questions. You only need a free Real Python account.

    Topics:

    • 00:00:00 – Introduction
    • 00:02:25 – How did you get involved in open source?
    • 00:05:22 – What is Djangonaut Space?
    • 00:09:30 – Django Commons and filling the void of JazzBand ending
    • 00:11:12 – Where did you start mentoring?
    • 00:13:26 – Mentoring in a workplace
    • 00:16:35 – Starting to mentor as a business
    • 00:18:21 – What skills do you need to be a mentor?
    • 00:23:18 – What skills should a mentee bring?
    • 00:25:53 – What gaps can mentoring help fill?
    • 00:30:55 – Hesitation in asking for help
    • 00:33:12 – Spotlight: Mentor AI
    • 00:34:57 – Finding where people need help & blogging as troubleshooting
    • 00:40:13 – How to get involved in mentoring
    • 00:44:56 – What has changed about mentoring with advent of LLMs?
    • 00:51:26 – What are you excited about in the world of Python?
    • 01:02:05 – What do you want to learn next?
    • 01:06:43 – How can people follow your work online?
    • 01:07:37 – Thanks and goodbye
    • Show Links:

      • Django Mentorship for Software Engineers - Better Simple
      • Djangonaut Space - A contributor mentorship program for Django/Python that’s just started its 7th session.
      • Django Commons - A community run organization to support community-maintained Django & packages.
      • Jazzband - Projects
      • Django on the Med - An in-person sprint only event for Django contributors to meet up and collaborate that just had its second iteration.
      • Django - New features repo - How Django is now handling new feature ideas.
      • Django Probe - How the community can communicate how they use Django so maintainers can make better decisions about the framework.
      • How Bloomberg’s engineers built a culture of knowledge sharing - Stack Overflow
      • The Manager’s Path: A Guide for Tech Leaders Navigating Growth and Change- Amazon
      • The Psychology of Software Teams: Cat Hicks - Amazon
      • django-debug-toolbar: Configurable panels to display debug info about the current request/response.
      • Online Django Events and Workshops · Better Simple
      • Tim Schilling (@[email protected]) - Fosstodon
      • Django - Discord
      • Tim Schilling - LinkedIn
      • Tim Schilling (@CodenameTim) / X
      • @codenametim.bsky.social — Bluesky
      • Level up your Python skills with our expert-led courses:

        • Getting Started With Django: Building a Portfolio App
        • Building HTTP APIs With Django REST Framework
        • How to Set Up a Django Project
        • Support the podcast & join our community of Pythonistas

          1 hr 9 min
        • Free-Threaded Python: Why Python Devs Should Know About the ABI

          Why should every Python developer know about the CPython ABI? This week on the show, we speak with Nathan Goldbaum about free-threaded Python and the changes to the Python Application Binary Interface.

          Nathan recently joined the CPython core developer team and has been building community support for free-threaded Python. Nathan shares his NumPy background and his work on shipping a new DType in NumPy 2.0. He also discusses his work on PyO3 and leading the effort to support thread-safe Rust extensions for use with the free-threaded build of Python.

          This episode is sponsored by PropelAuth.

          Spotlight: Converting Documents to Markdown With MarkItDown

          Learn how to use MarkItDown to convert Excel files, PDFs, and images into clean Markdown that’s ready for LLMs and AI workflows.

          Get Your Code: Click here to download the free sample code that shows you how to work with the experimental free threading and JIT compiler in Python 3.13.

          Topics:

          • 00:00:00 – Introduction
          • 00:01:51 – The evolution of Free-Threaded Python
          • 00:03:42 – Changes to the Application Binary Interface
          • 00:05:16 – Improving the garbage collector
          • 00:07:04 – Why should developers know about the ABI?
          • 00:11:31 – What has changed with ABI?
          • 00:19:42 – Sponsor: PropelAuth
          • 00:20:18 – Python 3.13 and the updated PyObject
          • 00:23:15 – EuroPython talk - What Every Python Developer Should Know About the ABI
          • 00:31:13 – How did you get involved with NumPy?
          • 00:35:33 – Video Course Spotlight
          • 00:37:24 – Working on NumPy conference talk
          • 00:42:23 – LLMs, aesthetic taste, and intentional software design
          • 00:43:16 – Working on NumPy 2.0, DTypes, and building the String DType
          • 00:54:43 – The stages of intentional design
          • 00:57:34 – How does it connect to working on the ABI?
          • 00:59:11 – Rust, PyO3, and the Spinning Jenny Project
          • 01:04:03 – What are you excited about in the world of Python?
          • 01:05:23 – What do you want to learn next?
          • 01:06:34 – How can people follow your work online?
          • 01:06:50 – Thanks and goodbye
          • Show Links:

            • What Every Python Developer Should Know About the CPython ABI - Quansight Labs
            • What every Python developer should know about the CPython ABI - Nathan Goldbaum - YouTube
            • Python Free-Threading Guide
            • Unraveling Community Support For Free-Threaded Python - Lysandros Nikolaou & Nathan Goldbaum - YouTube
            • Compatibility Status Tracking - Python Free-Threading Guide
            • PEP 779 – Criteria for supported status for free-threaded Python
            • PEP 703 – Making the Global Interpreter Lock Optional in CPython
            • Memory Management in Python – Real Python
            • Nathan Goldbaum - From no CPython C API experience to shipping a new DType in NumPy 2.0 - YouTube
            • The yt Project: Home
            • yt - PyPI
            • The Recurse Center
            • Working with Arrays of Strings And Bytes — NumPy v2.6.dev0 Manual
            • NEP: add NEP-0058 for bytestringdtype by ngoldbaum · Pull Request #32433 · numpy/numpy
            • PyO3: Rust bindings for the Python interpreter
            • Quansight Labs - Blog
            • Nathan Goldbaum - LinkedIn
            • Nathan Goldbaum - ngoldbaum - GitHub
            • Level up your Python skills with our expert-led courses:

              • Speed Up Python With Concurrency
              • NumPy Techniques and Practical Examples
              • Converting Documents to Markdown With MarkItDown
              • Support the podcast & join our community of Pythonistas

                1 hr 9 min
              • Demystifying Python Memory Management & Choosing a Project Layout

                How does Python manage memory behind the scenes? What are the common ways to lay out a Python project? Christopher Trudeau is back on the show this week with another batch of PyCoder’s Weekly articles and projects.

                Christopher shares an article titled “First Steps into Memory Management in Python.” With recent updates to the garbage collector and the ongoing work toward removing the Global Interpreter Lock (GIL), the article covers the fundamentals of how Python allocates, tracks, and frees memory.

                We also share other articles and projects from the Python community, including recent releases, why Parquet dominates modern data engineering, choosing the right Python project layout, developing the most cursed + operator in all of Python, finding which dependencies block a Django project upgrade, and a Django performance benchmark profiler.

                Spotlight: Codex for Python Developers: Hands-On Agentic Coding Course

                Most Python developers use AI as fancy autocomplete. This 2-day live course teaches you to build entire projects with Codex, an AI agent that works inside your codebase.

                Get Your Cheat Sheet: Click here to download your free Python project structure cheat sheet and keep the flat vs. src/ decision and the entry-point wiring within reach on your next project.

                Topics:

                • 00:00:00 – Introduction
                • 00:01:56 – Python 3.16.0 Alpha 1 Is Now Available
                • 00:02:24 – Django Security Releases Issued: 6.1.2, 6.0.9, and 5.2.18
                • 00:02:46 – Release of Polars 2.0
                • 00:03:32 – PyPy v8.0.1 Release
                • 00:03:54 – Checking Email Reputation, and Allowing Outlook Again
                • 00:04:48 – PyScript is in maintenance mode
                • 00:05:55 – Codex for Python Developers: Hands-On Agentic Coding Course
                • 00:06:21 – MLOps North: November 5th & 6th
                • 00:06:46 – Why Parquet Dominates Modern Data Engineering
                • 00:16:04 – First Steps Into Memory Management in Python
                • 00:23:21 – Spotlight: Codex for Python Developers
                • 00:25:05 – Python Project Structure: How to Choose the Right Layout
                • 00:35:17 – Pendulum and the Most Cursed + Operator in All of Python
                • 00:38:50 – django-benchmark: Django Performance Benchmark Profiler
                • 00:41:53 – django-upgrade-report: Which Dependencies Block an Upgrade to Your Django Project?
                • 00:44:33 – Thanks and goodbye
                • News:

                  • Python 3.16.0 Alpha 1 Is Now Available
                  • Django Security Releases Issued: 6.1.2, 6.0.9, and 5.2.18
                  • Release of Polars 2.0
                  • PyPy v8.0.1 Release
                  • Checking Email Reputation, and Allowing Outlook Again – Two years ago, PyPI prohibited Outlook email domains in the registration of new accounts due to a large malware campaign. With an update to how email reputation is calculated, addresses from outlook.com and hotmail.com can once more be used.
                  • PyScript is in maintenance mode. Here’s what’s left for Python in the browser - DEV Community
                  • Codex for Python Developers: Hands-On Agentic Coding Course – Real Python
                  • MLOps North: Building (with) Agents Tickets, Thursday, November 5-Friday, November 6  •  8:30 AM-3 PM | Eventbrite
                  • Show Links:

                    • Why Parquet Dominates Modern Data Engineering – How Parquet’s columnar layout, encodings, zstd compression, and row group statistics make it smaller and faster to read than CSV, measured on NYC taxi trips data with Polars, DuckDB, and PyArrow.
                    • First Steps Into Memory Management in Python – A quick introduction to how Python manages memory under the hood and how that might affect your code.
                    • Python Project Structure: How to Choose the Right Layout – Learn how to structure Python projects: pick between flat and src/ layouts, organize your code, and apply the patterns to CLI, web, and GUI apps.
                    • Pendulum and the Most Cursed + Operator in All of Python – Pendulum, a popular Python datetime library, has a + operator that inspects the call stack to decide which answer to give you. The post explains how it ended up there, and why the design behind it, a “drop-in” subclass of datetime, still matters for your code now that the hack itself has been patched.
                    • Projects:

                      • django-benchmark: Django Performance Benchmark Profiler
                      • django-upgrade-report: Which Dependencies Block an Upgrade to Your Django Project?
                      • Additional Links:

                        • PEP 848 – Generational Incremental Garbage Collection | peps.python.org
                        • Reverting the incremental GC in Python 3.14 and 3.15 - Core Development - Discussions on Python.org
                        • Garbage Collection: Python 3.15.2 documentation
                        • Memory Management in Python – Real Python
                        • Level up your Python skills with our expert-led courses:

                          • How Python Manages Memory
                          • How to Set Up a Django Project
                          • Using Astropy for Astronomy With Python
                          • Support the podcast & join our community of Pythonistas

                            46 min
                          • The Future of Python Security: Trends, Challenges, and Solutions

                            How is the Python ecosystem adapting to the modern landscape of software security and supply chain defense? This week on the show, we sit down with Seth Larson, the Python Software Foundation’s Security Developer in Residence.

                            Seth shares his background in open source and how he got involved in security engineering. We discuss the Python Security Response Team and how a recent PEP formalized its processes for reporting and triage.

                            Seth breaks down how large language models are affecting vulnerability discovery and increasing the volume to triage. We also cover the security advantages of trusted publishing on PyPI, how Software Bill of Materials (SBOMs) under PEP 770 help track dependencies, and some advice on improving your CI/CD security.

                            Course Spotlight: Testing Your Code With Python’s unittest

                            Learn how to use Python’s unittest framework to write unit tests for your code, including test cases, fixtures, and test suites.

                            Free Bonus: Python Security Checklist

                            Get a Python Security Checklist (PDF) and keep secrets, passwords, encryption, HTTPS, input validation, and dependency audits on one printable page:

                            Send My Python Security Checklist »

                            Topics:

                            • 00:00:00 – Security Note: Python certifi package and PHP updates
                            • 00:00:37 – Introduction
                            • 00:02:22 – Pikmin fans unite!
                            • 00:02:51 – How did you get involved in security research?
                            • 00:07:07 – Security Research is unique and the wider community
                            • 00:13:35 – The influx of LLMs finding vulnerablities
                            • 00:17:18 – The Python Security Response Team and PEP 811
                            • 00:25:21 – Video Course Spotlight
                            • 00:26:44 – Is the flood of vulnerabilities unlimited?
                            • 00:29:15 – Security Track at PyCon US 2026
                            • 00:31:03 – Does a security engineer need humility?
                            • 00:33:25 – PEP770 Improving measurability of Python packages with Software Bill-of-Materials
                            • 00:38:55 – Communication across other languages and package repositories
                            • 00:41:41 – What’s it been like writing PEPs?
                            • 00:44:32 – Defining the term Trusted Publisher
                            • 00:47:27 – Differences between public and private vulnerabilities
                            • 00:51:19 – Are you using LLMs in your work as a security researcher?
                            • 00:52:56 – The fear/hype cycle of vulnerabilites and triaging reports
                            • 00:58:35 – Do you have security advice for developers?
                            • 01:03:12 – What are you excited about in the world of Python?
                            • 01:06:14 – What do you want to learn next?
                            • 01:08:08 – How can people follow your work online?
                            • 01:09:58 – Thanks and goodbye
                            • Show Links:

                              • Seth Larson - Website
                              • Removal of emSign root cerificate - Advisory - certifi/python-certifi
                              • Supply Chain Security for the Age of AI-Speed Exploits – Real Python
                              • urllib3 - PyPI
                              • PSF Developers in Residence - Python.org
                              • Keynote: Security Work isn’t Special - Seth Larson - OpenSSF Community Day
                              • Phantom Dependencies: is your requirements.txt haunted? - Seth Michael Larson - YouTube
                              • PSF - Update from our Security Engineers - YouTube
                              • Python Security: What we’ve done, now AI & Glasswing are changing everything (Sponsor: Alpha-Omega) - YouTube
                              • Learning from the not-so-secret Python security “cabal” - Seth Michael Larson - YouTube
                              • PEP 811 – Defining Python Security Response Team membership and responsibilities
                              • PEP 770 – Improving measurability of Python packages with Software Bill-of-Materials
                              • PEP 770 Software Bill‑of‑Materials (SBOM) data from PyPI, Fedora, and Red Hat — Seth Larson
                              • Trusted Publisher - Getting Started - PyPI Docs
                              • zizmor: Static analysis for GitHub Actions (and more)
                              • Pikipedia, the Pikmin wiki
                              • Rust for CPython (Python Language Summit 2026) | Python Insider
                              • Python Software Foundation News
                              • Python Insider
                              • Seth Larson - Website
                              • Level up your Python skills with our expert-led courses:

                                • Python Continuous Integration and Deployment Using GitHub Actions
                                • Testing Your Code With Python's unittest
                                • How to Get Started With Ollama
                                • Support the podcast & join our community of Pythonistas

                                  1 hr 11 min
                                • Python Pitfalls: Common Mistakes and How to Avoid Them

                                  What are common mistakes that Python beginners make, and how do you avoid them? Christopher Trudeau is back on the show this week with another batch of PyCoder’s Weekly articles and projects.

                                  We dig into an article about common pitfalls and mistakes new Python developers make. Some of the mistakes are due to Python doing exactly what you asked it to do. We also talk about Real Python resources for getting started with the language and building your development environment.

                                  We also share other articles and projects from the Python community, including recent releases, a collection of new PEPs, and the results of two recent Python elections. We cover creating temporary files in Python, decoupling pure logic from Django’s ORM, a Python functions reference, a lightning-fast logger, and an online development environment for creating games.

                                  Course Spotlight: How to Use Python: Taking Your First Steps

                                  Take your first steps with Python. Install it, run your first program, and work with variables, data types, loops, functions, and errors.

                                  Live Course Spotlight: Python for Beginners: Code With Confidence

                                  Learn the fundamentals of Python step-by-step in a friendly, interactive cohort. Build confidence writing code and understand the “why” behind Python’s core concepts.

                                  Free Kit: Get the Python Beginner Starter Kit with a cheat sheet, a sample book chapter, a course, and a quiz. You only need a free Real Python account.

                                  Topics:

                                  • 00:00:00 – Introduction
                                  • 00:02:05 – After a delay - Python 3.15.0 (final) is here!
                                  • 00:02:41 – Python 3.10.22, 3.11.17, 3.12.15, 3.13.16 and 3.14.8 are now available!
                                  • 00:03:30 – PEP 823 – None-aware access operators
                                  • 00:04:40 – PEP 845: Leading-Dot Value Patterns
                                  • 00:05:04 – PEP 846: Docstrings for Type Aliases
                                  • 00:05:21 – PEP 848: Generational Incremental Garbage Collection
                                  • 00:06:12 – 2026 PSF Board Election Results
                                  • 00:06:31 – 2026 Python Packaging Council Election Results!
                                  • 00:07:23 – 7 Python Mistakes Beginners Make
                                  • 00:18:03 – An Effective Python Development Environment
                                  • 00:21:37 – Creating Temporary Files in Python
                                  • 00:24:30 – Video Course Spotlight
                                  • 00:26:02 – 5 Design Patterns Used in My New Habit Tracker App
                                  • 00:33:43 – Functions: A Complete Reference
                                  • 00:36:50 – PYXEL STUDIO
                                  • 00:39:38 – pyfastlogging: A Lightning Fast Logger, Written in Rust
                                  • 00:41:54 – How Libraries Run Rust Inside Python (with PyO3)
                                  • 00:44:43 – Thanks and goodbye
                                  • News:

                                    • Python 3.15.0 (final) is here!
                                    • Python 3.10.22, 3.11.17, 3.12.15, 3.13.16 and 3.14.8 are now available!
                                    • PEP 823 – None-aware access operators
                                    • PEP 824 – None-coalescing operators
                                    • PEP 845: Leading-Dot Value Patterns (Draft)
                                    • PEP 846: Docstrings for Type Aliases (Draft)
                                    • PEP 848: Generational Incremental Garbage Collection (Draft)
                                    • 2026 PSF Board Election Results
                                    • 2026 Python Packaging Council Election Results!
                                    • Show Links:

                                      • 7 Python Mistakes Beginners Make – Some mistakes are because Python did exactly what you asked it to do. This article covers seven of them. For each one, you get the hidden cause, plus the first thing worth checking.
                                      • An Effective Python Development Environment – Choose a Python development environment that helps you get coding. Find tutorials and courses on editors, uv, virtual environments, and useful tools.
                                      • Creating Temporary Files in Python – How to create temporary files and directories in Python using the tempfile module’s NamedTemporaryFile and TemporaryDirectory.
                                      • 5 Design Patterns Used in My New Habit Tracker App – Bob has built a Django + HTMX-based habit tracker. This article covers five small Python and design patterns used in his code.
                                      • Functions: A Complete Reference – This article is a complete reference for all things related to functions in Python, including structure, signatures, *args, **kwargs, using functions as objects, and more.
                                      • Projects:

                                        • PYXEL STUDIO
                                        • pyfastlogging: A Lightning Fast Logger, Written in Rust
                                        • Additional Links:

                                          • Install packages in a virtual environment using pip and venv - Python Packaging User Guide
                                          • Python Virtual Environments: A Primer – Real Python
                                          • Require a Virtualenv for pip Installs - pydevtools
                                          • One namespace to namespace them all (Python Language Summit 2026) - Python Insider
                                          • commitgraph - Commit to what matters. Every day.
                                          • Getting Started with Rust as Python Devs - Talk Python To Me Podcast
                                          • How Libraries Run Rust Inside Python (with PyO3) - Bob Belderbos
                                          • Level up your Python skills with our expert-led courses:

                                            • Python Basics: Setting Up Python
                                            • Python Basics: Code Your First Python Program
                                            • How to Use Python: Taking Your First Steps
                                            • Support the podcast & join our community of Pythonistas

                                              46 min
                                            • Codemoo: Demonstrating How Coding Agents Work

                                              How do you assemble the core pieces of a coding agent? How are developers defining projects through conversation and introspection? This week on the show, Geir Arne Hjelle returns to talk about his recent project to demonstrate how coding agents work under the hood.

                                              Geir Arne was my first guest on this program and has returned often over the years. He’s been exploring how coding agents work and has built a demonstration tool to explain them.

                                              We also discuss how he is using LLM tools in his work. We talk about moving beyond Spec-Driven Development to using tools that help you build architecture documents through thorough questioning sessions.

                                              Course Spotlight: Modern Python Linting With Ruff

                                              Ruff is a blazing-fast, modern Python linter with a simple interface that can replace Pylint, isort, and Black—and it’s rapidly becoming popular.

                                              Topics:

                                              • 00:00:00 – Introduction
                                              • 00:01:52 – Codemoo - Demonstrating how coding agents work under the hood
                                              • 00:06:39 – Exploring Spec-Driven Development
                                              • 00:09:38 – Breaking into the levels of a harness
                                              • 00:17:08 – Tool calling
                                              • 00:24:20 – Being a newbie again
                                              • 00:29:00 – Designing the progression
                                              • 00:35:29 – Video Course Spotlight
                                              • 00:37:01 – What was difficult about the process?
                                              • 00:41:09 – What tools are you using currently?
                                              • 00:44:10 – Moving from OpenSpec toward grill-me
                                              • 00:50:43 – Deciding on which LLM
                                              • 00:53:49 – garuff: Opinionated Python linter rules for coding agents
                                              • 00:58:00 – Offsetting atrophy with code challenges
                                              • 01:01:56 – What are you excited about in the world of Python?
                                              • 01:04:01 – What do you want to learn next?
                                              • 01:05:55 – How can people follow your work online?
                                              • 01:06:23 – Thanks and goodbye
                                              • Show Links:

                                                • codemoo: Demonstration of how coding agents work under the hood - GitHub
                                                • codemoo - PyPI
                                                • configaroo: Bouncy configuration handling
                                                • koalaty: Evaluate and compare models in agent harnesses
                                                • Episode #277: Moving Towards Spec-Driven Development
                                                • OpenSpec: Spec-driven development (SDD) for AI coding assistants.
                                                • Build your own Claude Code - CodeCrafters
                                                • claude-howto: A visual, example-driven guide to Claude Code
                                                • Matt Pocock: Become a Real AI Hero
                                                • The /grill-me Skill
                                                • mattpocock/skills: Skills for Real Engineers. Straight from my .agents directory.
                                                • garuff: Personal and opinionated Python linter rules aimed at coding agents
                                                • garuff - PyPI
                                                • Advent of Code 2025
                                                • Advent of Code: Solving Your Puzzles With Python – Real Python
                                                • Everybody Codes
                                                • dailyprog.club: A daily programming puzzle app. - Codeberg.org
                                                • FlipFlop
                                                • Python 3.15 Preview: Lazy Imports – Real Python
                                                • Milky Oolong - A.C. Perch’s Tehandel
                                                • Gongfu tea - Wikipedia
                                                • How to Brew Tea Properly
                                                • gahjelle (Geir Arne Hjelle) / Repositories
                                                • Level up your Python skills with our expert-led courses:

                                                  • Modern Python Linting With Ruff
                                                  • Tips for Using the AI Coding Editor Cursor
                                                  • Using the Claude API in Python
                                                  • Support the podcast & join our community of Pythonistas

                                                    1 hr 8 min
                                                  • Python 3.15: Exploring the New Features

                                                    Python 3.15 is (almost*) here! Christopher Trudeau and Bartosz Zaczyński return to discuss the new version. Bartosz coordinated the series of preview articles with members of the Real Python team and wrote the showcase tutorial, “Python 3.15: Cool New Features for You to Try.” Christopher’s video course “What’s New in Python 3.15” covers the topics from the article and shows the new features in action.

                                                    Christopher and Bartosz dug into the release to create code examples of the new features for the tutorial and course. We cover the new built-in types, unpacking in comprehensions, and developer experience enhancements. We also look into the performance improvements, including lazy imports, the upgraded JIT compiler, and a new sampling profiler.

                                                    We share our thoughts on the updates and offer advice about incorporating them into your projects. We also discuss when you should start running Python 3.15.

                                                    Course Spotlight: What’s New in Python 3.15

                                                    Explore the new features in Python 3.15, including lazy imports, frozendict, sentinel values, a sampling profiler, and a faster JIT.

                                                    Topics:

                                                    • 00:00:00 – Introduction
                                                    • 00:00:02 – * NOTE: Python 3.15 release delayed!
                                                    • 00:03:35 – Real Python 3.15 Preview Articles and Video Course
                                                    • 00:04:40 – Sentinel Values
                                                    • 00:08:55 – Lazy Imports
                                                    • 00:14:48 – Unpacking in Comprehensions
                                                    • 00:17:12 – Mathematical functions
                                                    • 00:20:07 – Sampling Profiler
                                                    • 00:27:43 – Video Course Spotlight
                                                    • 00:29:18 – frozendict
                                                    • 00:33:12 – The speed round of features
                                                    • 00:36:04 – Continued work on free-threaded Python and upgrading the JIT
                                                    • 00:39:34 – Upgrading to 3.15
                                                    • 00:44:35 – Thanks and goodbye
                                                    • Show Links:

                                                      • * Python 3.15: following tradition, let’s have a surprise rc3! - Core Development - Discussions on Python.org
                                                      • Python 3.15: Cool New Features for You to Try – Real Python
                                                      • Python 3.15 Preview: Sentinel Values – Real Python
                                                      • Python 3.15 Preview: Lazy Imports – Real Python
                                                      • Unpacking in Comprehensions -What’s new in Python 3.15 — Python 3.15 documentation
                                                      • math — Mathematical functions — Python 3.15 documentation
                                                      • Python 3.15 Preview: Sampling Profiler
                                                      • PEP 799 – A dedicated profiling package for organizing Python profiling tools
                                                      • Python 3.15 Preview: frozendict
                                                      • PEP 814 – Add frozendict built-in type
                                                      • More color - What’s new in Python 3.15
                                                      • Improved error messages - What’s new in Python 3.15
                                                      • Python 3.15 Preview: UTF-8 by Default
                                                      • PEP 803: Stable ABI for free-threaded builds - What’s new in Python 3.15
                                                      • Python 3.15 Preview: Upgraded JIT Compiler
                                                      • Additional Links:

                                                        • PEP 810 – Explicit lazy imports
                                                        • Implement native PEP 0810 lazy loading by hebaalazzeh - google-cloud-python
                                                        • PEP 798 – Unpacking in Comprehensions
                                                        • PEP 448 – Additional Unpacking Generalizations
                                                        • Tachyon: Python 3.15’s sampling profiler is faster…- Pablo Galindo Salgado, Laszlo Kiss Kollar - YouTube
                                                        • The amazing and varied life of Tachyon particles in Star Trek TNG - YouTube
                                                        • Episode #128: Using a Memory Profiler in Python & What It Can Teach You
                                                        • Episode #172: Measuring Multiple Facets of Python Performance With Scalene
                                                        • Upgraded experimental JIT compiler - What’s new in Python 3.15
                                                        • What’s new in Python 3.15 — Python 3.15 documentation
                                                        • Level up your Python skills with our expert-led courses:

                                                          • Understanding Python List Comprehensions
                                                          • What's New in Python 3.14
                                                          • What's New in Python 3.15
                                                          • Support the podcast & join our community of Pythonistas

                                                            45 min
                                                          • Navigating AI in Open Source: Insights From Wagtail

                                                            How should you manage AI contributions to an open-source project? How do you measure the impact of using AI tools for development, and what generative features do end users want from a content management system? This week on the show, we speak with Thibaud Colas and Meagen Voss from Wagtail about the complex considerations software organizations are currently facing.

                                                            Meagen is the Wagtail community manager, and Thibaud is a member of the core team. We discuss the impact of AI on a popular open-source project. We reference multiple articles they’ve written about managing these challenges.

                                                            We dig into wrangling AI-assisted contributions to the project. They share how they research options for open-weight AI models and inference providers. We also discuss building AI features into the Wagtail CMS. Finally, we touch on the recent release of Wagtail 8.0.

                                                            Course Spotlight: Using the Claude API in Python

                                                            Learn how to use the Claude API in Python to send prompts, control responses with system instructions, and get structured output.

                                                            Topics:

                                                            • 00:00:00 – Introduction
                                                            • 00:01:49 – What is Wagtail?
                                                            • 00:08:35 – Flood of AI submissions to open-source projects
                                                            • 00:11:38 – Guidance for AI-led contributions
                                                            • 00:20:43 – Security submissions
                                                            • 00:21:56 – Ethical decisions about internal use of AI
                                                            • 00:26:31 – Resurgence of web sites
                                                            • 00:27:41 – Measuring benefits and performance
                                                            • 00:32:49 – Models understanding your framework
                                                            • 00:38:05 – Video Course Spotlight
                                                            • 00:39:42 – Adding AI features to Wagtail for creators
                                                            • 00:48:47 – Balancing the use of AI internally and the cost of inference
                                                            • 00:55:29 – Advice for other open-source projects
                                                            • 01:00:00 – Wagtail 8.0
                                                            • 01:02:10 – What are you excited about in the world of Python?
                                                            • 01:04:10 – What do you want to learn next?
                                                            • 01:05:56 – How can people follow your work online?
                                                            • 01:06:43 – Thanks and goodbye
                                                            • Show Links:

                                                              • Wagtail CMS - Django Content Management System
                                                              • Wagtail Space 2026 - Wagtail CMS
                                                              • Showcase - Wagtail CMS
                                                              • Guidance for AI-led contributions - Wagtail CMS
                                                              • What I learned from two days of hanging out with AI experts - Wagtail CMS
                                                              • AI saved me 10 minutes on a blog post: Was it worth it? - Wagtail CMS
                                                              • What AI tools get right and wrong with Wagtail - Wagtail CMS
                                                              • Comparing open weight AI models and providers - Wagtail CMS
                                                              • AI in the CMS: steering the ecosystem - Wagtail CMS
                                                              • The carbon footprint of Wagtail AI - Wagtail CMS
                                                              • Open source AI we use to work on Wagtail - Wagtail CMS
                                                              • Results of the 2026 Wagtail DX with AI survey - Wagtail CMS
                                                              • open-code-review: Secure, fast, efficient, battle-tested - hybrid architecture code review tool
                                                              • CMS with AI, not AI CMS: Wagtail 8.0’s new API
                                                              • Roadmap - Wagtail CMS
                                                              • Executive Director Search Extended to September 22 - Django Weblog
                                                              • git-worktree Documentation
                                                              • Wagtail newsletter
                                                              • Meagen Voss (@[email protected]) - Fosstodon
                                                              • Thibaud Colas (@[email protected]) - Fosstodon
                                                              • Level up your Python skills with our expert-led courses:

                                                                • How to Set Up a Django Project
                                                                • Getting Started With Google Gemini CLI
                                                                • Using the Claude API in Python
                                                                • Support the podcast & join our community of Pythonistas

                                                                  1 hr 8 min
                                                                • Django Developers Survey Results & Reproducible Python Builds

                                                                  What are the latest trends uncovered in the 2026 Django Developers Survey? How are Django users employing LLMs in their development process? Christopher Trudeau is back on the show this week with another batch of PyCoder’s Weekly articles and projects.

                                                                  We discuss a summary by Will Vincent about this year’s Django Developers Survey. The survey draws on responses from nearly 3,500 developers across more than 40 countries. It provides a look at how developers are adapting to AI workflows and which tools they’re embracing.

                                                                  We dig into a post from Brett Cannon about reproducible builds in Python. It covers the importance of creating an independently verifiable, repeatable build of CPython and other associated tools. The post explains why Python isn’t there yet and outlines the direction of the work still needed.

                                                                  We also share other articles and projects from the Python community, including recent releases, upcoming PSF elections, Polars vs SQL differences nobody is talking about, creating Django unsubscribe links without a Login, a library to make measurement units easier through Pydantic, and a tool to convert if-else code to match statements.

                                                                  This episode is sponsored by Six Feet Up.

                                                                  Video Course Spotlight: How to Get Started With Ollama

                                                                  Learn how to install Ollama, pull local models, and connect them to your Python code using the chat and text generation interfaces.

                                                                  Topics:

                                                                  • 00:00:00 – Introduction
                                                                  • 00:02:46 – Python 3.15.0 candidate 2 is here!
                                                                  • 00:03:10 – Django 6.1.1 release notes
                                                                  • 00:03:20 – Wagtail 8.0 release notes
                                                                  • 00:04:27 – RISC-V Is Now Officially Supported by CPython
                                                                  • 00:05:19 – PEP 843: Export Statement for DRY Re-Exports
                                                                  • 00:06:27 – 2026 PSF Board Election Interviews
                                                                  • 00:07:07 – Up and Running with Rust Course
                                                                  • 00:07:56 – Guido Comment on PEP 805: Safe Parallel Python
                                                                  • 00:09:56 – The Polars vs SQL Differences Nobody Is Talking About
                                                                  • 00:16:55 – Sponsor: Six Feet Up
                                                                  • 00:17:50 – Unsubscribe Links Without a Login: Django Signing
                                                                  • 00:20:56 – What’s Missing to Have Reproducible Builds on PyPI
                                                                  • 00:27:09 – Video Course Spotlight
                                                                  • 00:28:44 – The Python Community’s Institutional Response to the Astral Acquisition Has Begun
                                                                  • 00:29:57 – The State of Django 2026: Boring Is So Back
                                                                  • 00:40:13 – matchify: Converts if-else Code to match Statements
                                                                  • 00:43:14 – pydantic-pint: Pydantic Pint Quantities
                                                                  • 00:45:16 – Thanks and goodbye - Submit topics to PyCoders Link
                                                                  • News:

                                                                    • Python 3.15.0 candidate 2 is here! - Python Insider
                                                                    • Django 6.1.1 release notes - Django documentation
                                                                    • CMS With AI, Not AI CMS: Wagtail 8.0’s New API – Wagtail 8 includes a new API built on Django Ninja and Pydantic, to automate common admin tasks with and without agents. 50+ operations derived from projects’ existing Python/Django code, mimicking the admin panel but via endpoints and an official CLI.
                                                                    • Wagtail 8.0 release notes — Wagtail Documentation 8.0 documentation
                                                                    • RISC-V Is Now Officially Supported by CPython
                                                                    • PEP 843: Export Statement for DRY Re-Exports (Draft)
                                                                    • PEP 842: Module Exports (Withdrawn)
                                                                    • 2026 PSF Board Election Interviews – This is a collection of interviews of the various candidates running for the Python Software Foundation Board. Many of the posts also include links to AMA sessions.
                                                                    • Python Software Foundation News: The 2026 PSF Board Election is Open!
                                                                    • Python Software Foundation News: Inaugural Python Packaging Council Election: Voting is now open!
                                                                    • Up and Running with Rust Course
                                                                    • Guido Comment on PEP 805: Safe Parallel Python
                                                                    • Show Links:

                                                                      • The Polars vs SQL Differences Nobody Is Talking About – Some problems can be attacked with either SQL or Polars, but subtle differences in how the two mechanisms work can run you into trouble. Learn more about these potential gotchas.
                                                                      • Unsubscribe Links Without a Login: Django Signing – Django has a signing module that makes it easy to build an unsubscribe link that works with no login and no session: token = signing.dumps(recipient.pk, salt=UNSUBSCRIBE_SALT). The token itself is the credential, and it ships with Django out of the box.
                                                                      • What’s Missing to Have Reproducible Builds on PyPI – A reproducible build is a way of creating an independently verifiable, repeatable build of CPython and other associated tools. This post explains why Python isn’t there yet and why it is important.
                                                                      • The Python Community’s Institutional Response to the Astral Acquisition Has Begun – Brett Cannon posted on discuss.python.org (March 23): a PEP is coming, the python/prebuilt-cpython repo already exists, and the PSF has been building an official prebuilt relocatable CPython distribution since October 2025. Covers what’s actually being built, what it means for uv/ruff/python-build-standalone, and why the Astral upstream patches and PSF alternative aren’t in conflict.
                                                                      • The State of Django 2026: Boring Is So Back – A summary of this year’s State of Django report which draws on responses from nearly 3,500 developers across more than 40 countries: from students in their first year to veterans with decades of experience.
                                                                      • Projects:

                                                                        • matchify: Converts if-else Code to match Statements
                                                                        • pydantic-pint: Pydantic Pint Quantities
                                                                        • Additional Links:

                                                                          • Episode #224: Narwhals: Expanding DataFrame Compatibility Between Libraries
                                                                          • Mastering DuckDB when you’re used to pandas or Polars
                                                                          • Episode #297: Improving Python Through PEPs and Protocols
                                                                          • PEP 770 – Improving measurability of Python packages with Software Bill-of-Materials
                                                                          • Phantom Dependencies: is your requirements.txt haunted? - Seth Michael Larson - YouTube
                                                                          • prebuilt-cpython - GitHub
                                                                          • htmx - high power tools for html
                                                                          • Pint: makes units easy — pint 0.25.3rc1.dev1+g5e79411e1 documentation
                                                                          • Exploring Astrophysics in Python With pandas and Matplotlib – Real Python
                                                                          • PyCoder’s Weekly - Submit a Link
                                                                          • Level up your Python skills with our expert-led courses:

                                                                            • Exploring Astrophysics in Python With pandas and Matplotlib
                                                                            • Connecting LLMs to Your Data With Python MCP Servers
                                                                            • How to Get Started With Ollama
                                                                            • Support the podcast & join our community of Pythonistas

                                                                              47 min
                                                                            • Performance Engineering: Profiling and Making Apps Fast by Default

                                                                              How do you plan for the performance of your Python applications? What does a performance budget entail, and where should you spend your resources? This week on the show, we speak with Den Odell about his new book “Fast by Default: Practical Performance Engineering.”

                                                                              Den has 25 years of experience in building web systems for companies with hundreds of millions of users. Working on public-facing tools has honed his skills in understanding where performance is vital and in guiding decisions based on data from actual users.

                                                                              Den shares details of his performance framework that works across any platform or stack. We discuss the need for budgeting performance during the planning phase, measuring performance through consistent profiling, and keeping systems fast even as your codebase and user base grow.

                                                                              Course Spotlight: Profiling Performance in Python

                                                                              Learn to profile Python programs with built-in and popular third-party tools, and turn performance insights into faster code.

                                                                              Topics:

                                                                              • 00:00:00 – Introduction
                                                                              • 00:01:39 – Modern systems run across multiple languages
                                                                              • 00:03:52 – What lead you toward performance engineering?
                                                                              • 00:12:54 – Frameworks and balancing performance against developer experience
                                                                              • 00:17:45 – Measuring performance and profiling
                                                                              • 00:24:28 – What is Fast by Default?
                                                                              • 00:36:34 – Video Course Spotlight
                                                                              • 00:38:16 – Breaking into the methodology
                                                                              • 00:42:10 – Performance budget
                                                                              • 00:48:27 – End user pain points
                                                                              • 00:51:21 – Microservices and monoliths
                                                                              • 00:54:01 – Performance questionnaire
                                                                              • 01:00:31 – What is easier about performance planning upfront?
                                                                              • 01:01:50 – Discoveries during the writing process
                                                                              • 01:07:01 – Do LLMs write performant code?
                                                                              • 01:12:37 – What are you excited about in the world of Python?
                                                                              • 01:13:41 – What do you want to learn next?
                                                                              • 01:15:02 – How can people follow your work online?
                                                                              • 01:15:43 – Thanks and goodbye
                                                                              • Show Links:

                                                                                • Fast by Default - Den Odell - Manning Discount Link
                                                                                • Fast by Default
                                                                                • Constraints and the Lost Art of Optimization - Den Odell
                                                                                • Python 3.15 Preview: Sampling Profiler
                                                                                • Tachyon: High frequency statistical sampling profile
                                                                                • Profiling in Python: How to Find Performance Bottlenecks
                                                                                • Episode #128: Using a Memory Profiler in Python & What It Can Teach You
                                                                                • Episode #172: Measuring Multiple Facets of Python Performance With Scalene
                                                                                • Running Python code in a sandbox with MicroPython and WASM
                                                                                • Syntorial: The Ultimate Synthesizer Course
                                                                                • Den Odell - LinkedIn
                                                                                • Den Odell – Author. Staff Web Engineer.
                                                                                • Level up your Python skills with our expert-led courses:

                                                                                  • Speed Up Python With Concurrency
                                                                                  • Profiling Performance in Python
                                                                                  • Testing Your Code With Python's unittest
                                                                                  • Support the podcast & join our community of Pythonistas

                                                                                    1 hr 17 min

                                                                                  About The Real Python Podcast

                                                                                  From the publisher's feed

                                                                                  A weekly Python podcast hosted by Christopher Bailey with interviews, coding tips, and conversation with guests from the Python community.

                                                                                  More shows like The Real Python Podcast

                                                                                  The Changelog: Software Development, Open Source by Changelog Media

                                                                                  The Changelog: Software Development, Open Source

                                                                                  290 Listeners

                                                                                  Software Engineering Daily by Software Engineering Daily

                                                                                  Software Engineering Daily

                                                                                  624 Listeners

                                                                                  Talk Python To Me by Michael Kennedy

                                                                                  Talk Python To Me

                                                                                  582 Listeners

                                                                                  Soft Skills Engineering by Jamison Dance and Dave Smith

                                                                                  Soft Skills Engineering

                                                                                  296 Listeners

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

                                                                                  Super Data Science: ML & AI Podcast with Jon Krohn

                                                                                  301 Listeners

                                                                                  Python Bytes by Michael Kennedy and Calvin Hendryx-Parker

                                                                                  Python Bytes

                                                                                  212 Listeners

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

                                                                                  Syntax - Tasty Web Development Treats

                                                                                  983 Listeners

                                                                                  Darknet Diaries by Jack Rhysider

                                                                                  Darknet Diaries

                                                                                  8,075 Listeners

                                                                                  Tech Brew Ride Home by Morning Brew

                                                                                  Tech Brew Ride Home

                                                                                  961 Listeners

                                                                                  Practical AI by Daniel Whitenack and Chris Benson

                                                                                  Practical AI

                                                                                  203 Listeners

                                                                                  AWS Podcast by Amazon Web Services

                                                                                  AWS Podcast

                                                                                  202 Listeners

                                                                                  Django Chat by William Vincent and Carlton Gibson

                                                                                  Django Chat

                                                                                  75 Listeners

                                                                                  Last Week in AI by Skynet Today

                                                                                  Last Week in AI

                                                                                  311 Listeners

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

                                                                                  Machine Learning Street Talk (MLST)

                                                                                  98 Listeners

                                                                                  The Pragmatic Engineer by Gergely Orosz

                                                                                  The Pragmatic Engineer

                                                                                  74 Listeners