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

17 ratings


More shows like core.py

View all
Economist Podcasts by The Economist

Economist Podcasts

4,196 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

288 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

585 Listeners

Test & Code by Brian Okken

Test & Code

70 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

284 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

215 Listeners

Data Engineering Podcast by Tobias Macey

Data Engineering Podcast

143 Listeners

Sean Carroll's Mindscape: Science, Society, Philosophy, Culture, Arts, and Ideas by Sean Carroll | Wondery

Sean Carroll's Mindscape: Science, Society, Philosophy, Culture, Arts, and Ideas

4,131 Listeners

Django Chat by William Vincent and Carlton Gibson

Django Chat

75 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

62 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

140 Listeners

Dwarkesh Podcast by Dwarkesh Patel

Dwarkesh Podcast

456 Listeners

Hard Fork by The New York Times

Hard Fork

5,505 Listeners

Signals and Threads by Jane Street

Signals and Threads

73 Listeners

OpenAI Podcast by OpenAI

OpenAI Podcast

54 Listeners