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