Episode

#461 This episdoe has a typo

Podcast
Python Bytes
Published
Dec 9, 2025
Duration seconds
1730
Processing state
processed
Canonical source
https://pythonbytes.fm/episodes/show/461/this-episdoe-has-a-typo
Audio
https://pythonbytes.fm/episodes/download/461/this-episdoe-has-a-typo.mp3
JSON
/v1/public/podcasts/python-bytes/episodes/461-this-episdoe-has-a-typo
Markdown
/podcast/python-bytes/461-this-episdoe-has-a-typo.md

Actions

  • POST https://stenobird.com/v1/public/podcasts/python-bytes/episodes/461-this-episdoe-has-a-typo/transcription-requests
    Idempotently request low-priority transcript generation for this episode.
  • GET https://stenobird.com/podcast/python-bytes/461-this-episdoe-has-a-typo.md
    Read the agent-friendly Markdown representation of this episode resource.

Summary

A deep dive into Python's evolving syntax and testing ecosystem, featuring PEP 798 and the nuances of mocking. The episode also explores tools for catching typos and simulating CI failures locally.

Topics

  • Python
  • PEP 798
  • Pandas
  • Software Testing
  • Mocking
  • Django
  • Programming Languages
  • GitHub Actions

Highlights

  • Main idea: PEP 798 aims to bring unpacking consistency to comprehensions, making nested iterables easier to manage
  • Practical takeaway: Avoid patching the built-in 'open' function when mocking, as it can lead to unstable tests
  • Failure mode: Use tools like Slowlify to simulate resource-constrained CI environments locally to debug flaky tests
  • Main idea: New GitHub Actions can now use AST-based spell checkers to find misspellings within code strings
  • Practical takeaway: Keep a change log for your technical writing to manage complexity as projects grow

Chapters

  1. 3:10 PEP 798: Unpacking in Comprehensions: An analysis of the proposed syntax to make unpacking iterables more intuitive within Python comprehensions.
  2. 5:30 PEP 810: Explicit Lazy Imports: Discussion on the Steering Council's acceptance of explicit lazy imports.
  3. 7:30 Pandas 3.0.0rc0 Updates: Exploring changes in Pandas, including handling of missing values and new syntax for column operations.
  4. 11:55 AST-based Spell Checking: How new GitHub Actions use the Concrete Syntax Tree to identify misspellings in code.
  5. 16:20 The Dangers of Over-Mocking: A look at why patching built-ins like 'open' can break test suites and how to mock correctly.
  6. 24:35 Django 6.0 Release: A quick update on the official release of Django 6.
  7. 26:35 The Tabloid Language: A fun demonstration of a programming language inspired by clickbait headlines.