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
How does Python handle memory? Why does it need to perform custom forms of memory allocation? We talk about all that in this episode. We don't talk about Easter eggs, and we never mention Brandt by name, as promised last time!
## Timestamps
(00:00:00) INTRO
(00:00:22) PART 0: SPORTS...
Published 10/29/24
Over 40 core developers spent a week in Bellevue WA putting finishing touches on Python 3.13, planning, prototyping, and implementing features for Python 3.14. We talked to half of them. We laughed, we cried. We were happy watching graphs go up, and sad watching them go down. It was intense....
Published 10/03/24