Discovercore.pyEpisode 12: WTF Python
Episode 12: WTF Python

Episode 12: WTF Python

Update: 2024-06-10
Share

Description

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
Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Episode 12: WTF Python

Episode 12: WTF Python

Pablo Galindo and Łukasz Langa