Episode 12: WTF Python

You think you know Python? We thought so, too. Join us for an episode of surprises. You might know some of those, but you sure don't know all of them. ## Outline (00:00:00) INTRO (00:02:22) Integer interning with a twist (00:10:58) Return in finally (00:15:32) all([[]]) (00:20:06) Lists, iterators and hashing shenanigans (00:27:08) hash(-1) (00:31:30) String interning (00:34:23) PR OF THE WEEK (00:34:56) asyncio REPL now uses pyrepl, too (00:44:06) PyOS_InputHook (00:51:56) WHAT'S GOING ON IN CPYTHON (00:52:05) New core developers! (00:55:10) 3.13 beta 2 & 3.12.4 released (00:56:04) Pablo's top 3 favorite pyrepl improvements in Beta 2 (00:59:50) PEP 667 implemented! (01:02:42) Tian Gao's improvements to pdb (01:06:31) Uncle Tim's crusade to make int(some_string) asymptotically faster (01:08:50) datetime now uses interpreter-local static types (01:09:55) PEP 749 enters the chat, paving the way to a PEP 649 future (01:11:35) os.fwalk, os.walk, shutil.rmtree now support arbitrary depth directory trees (01:14:13) Free-threading changes (01:22:15) OUTRO

Om Podcasten

We talk about Python internals, because we work on Python internals. We joke about stuff, because we’re jokers. Episodes between 60 and 90 minutes in length. We’ve done more than a few so far and it doesn’t seem like we’ll be stopping any time soon! Hi Loren!