core.py

Episode 3 - Imports, frozen modules, Python news


Listen Later

What happens when you type “import abc”? Why does it say the module is frozen? What significant changes landed in Python in the past two weeks? And why does the “PR of the Week” jingle go so hard? Find out in this week’s episode!


# Timestamps


(00:00:00)  INTRO

(00:01:12)  IMPORTS

(00:02:21)  Here be dragons

(00:02:42)  High level summary

(00:05:12)  Finders and Loaders

(00:06:29)  Loading encrypted modules

(00:08:13)  Debugging by altering someone else's code

(00:10:08)  Support for site-packages

(00:14:22)  Nefarious uses of imports

(00:17:28)  Tagged strings?

(00:21:00)  FROZEN MODULES

(00:23:38)  Deepfreeze origins: importlib

(00:26:01)  Deepfreeze evolution

(00:31:32)  First world problems with build speed

(00:33:05)  WHAT'S GOING ON IN CPYTHON

(00:34:16)  Biased reference counts landed, buildbots

(00:35:51)  There is no nogil, there is only free-threaded

(00:36:54)  mimalloc landed

(00:42:29)  Critical sections landed

(00:45:04)  Tuples can now be shared across subinterpreters

(00:48:31)  JIT beginnings: Tier 2 interpreter merged with Tier 1

(00:50:54)  perf support with DWARF: look ma, no frame pointers

(00:55:05)  Yo DAWG, I herd you liked codepoints

(00:58:46)  Thread.join() waits for the OS thread now

(01:01:04)  PR OF THE WEEK

(01:02:06)  Pablo: gh-109181 -- traceback object creation is now lazy = much faster

(01:05:25)  Łukasz: gh-111710 -- stdlib coverage now gathered with sys.monitoring

(01:10:20)  WRAP UP


...more
View all episodesView all episodes
Download on the App Store

core.pyBy Pablo Galindo and Łukasz Langa

  • 5
  • 5
  • 5
  • 5
  • 5

5

18 ratings


More shows like core.py

View all
Radiolab by WNYC Studios

Radiolab

43,837 Listeners

WSJ What’s News by The Wall Street Journal

WSJ What’s News

4,420 Listeners

Odd Lots by Bloomberg

Odd Lots

1,993 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

626 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

583 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

214 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

985 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,077 Listeners

Today, Explained by Vox

Today, Explained

10,331 Listeners

The Peter Attia Drive by Peter Attia, MD

The Peter Attia Drive

8,043 Listeners

The Journal. by The Wall Street Journal & Spotify Studios

The Journal.

6,097 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

140 Listeners

Hard Fork by The New York Times

Hard Fork

5,576 Listeners

The Ezra Klein Show by New York Times Opinion

The Ezra Klein Show

16,525 Listeners

Ones and Tooze by Foreign  Policy

Ones and Tooze

366 Listeners