Python Bytes

#461 This episdoe has a typo

12 snips
Dec 9, 2025
PEP 798 makes unpacking in comprehensions official, allowing for cleaner code. Pandas 3.0.0 is on the horizon, featuring a dedicated string data type and new behaviors. A new tool integrates misspelling detection directly into your coding environment. The slowlafi tool helps simulate constrained CI environments for more robust testing. Best practices for mocking in tests are shared, ensuring you avoid common pitfalls. Plus, a hilarious look at a simulated programming language using clickbait! Tune in for laughs and learning!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Unpacking Inside Comprehensions

  • PEP 798 proposes allowing * and ** unpacking inside comprehensions to simplify combining iterables and dicts.
  • Michael Kennedy and Brian Okken highlight this brings consistency with call-site unpacking and reduces confusing nested comprehensions.
INSIGHT

Explicit Lazy Imports Accepted

  • PEP 810 (Explicit lazy imports) was unanimously accepted by the Steering Council and now needs implementation.
  • The hosts note 'lazy' will be the accepted keyword and implementation work follows acceptance.
INSIGHT

Major Changes In Pandas 3.0

  • Pandas 3.0 introduces a dedicated string dtype inferred by default and stronger missing-value semantics.
  • Copy-on-write semantics and pd.col usage in assign/loc aim to make the API more consistent and memory-efficient.
Get the Snipd Podcast app to discover more snips from this episode
Get the app