PodParley PodParley

Episode 21: A Garbage Episode

Episode 21 of the core.py podcast, hosted by Pablo Galindo and Łukasz Langa, titled "Episode 21: A Garbage Episode" was published on April 17, 2025 and runs 117 minutes.

April 17, 2025 ·117m · core.py

0:00 / 0:00

We talked about this episode for months now, and it's finally here. Garbage collection in its full glory. Classic and free-threaded. Generational and single-pass. With eager and delayed untracking. We cover it all! Explicitly.## Timestamps(00:00:00) THE FUCKING INTRO(00:02:03) PART 0: SPORTS NEWS(00:03:19) PART 1: GARBAGE COLLECTION(00:03:57) The big problem with refcounting(00:08:35) Solving reference cycles through PyGC_Head(00:11:45) 64 bits ought to be enough for anybody(00:17:30) Why a doubly-linked list?(00:21:15) How reference counting makes finding cycles easier(00:26:25) Roots bloody roots(00:30:17) How are objects in the cycle destroyed?(00:31:58) Object resurrection(00:43:21) Why do you need "generations"?(00:52:26) Delayed untracking(00:54:46) Weak references, strong problems(00:59:19) GC in free threading(01:03:27) Reference counting in free-threading builds(01:10:08) Incremental GC talk is DEFERRED(01:11:00) PART 2: PR OF THE WEEK(01:17:15) Type checking the standard library itself?(01:29:51) PART 3: WHAT'S GOING ON IN CPYTHON?(01:30:15) Free-threading changes(01:32:54) Performance updates(01:36:11) http.server supports HTTPS!(01:37:01) PEP 768 and 758 landed(01:37:34) HACL*(01:38:24) fnmatch.filterfalse()(01:38:54) Bugfixes(01:42:46) Curiosities(01:54:49) OUTRO

We talked about this episode for months now, and it's finally here. Garbage collection in its full glory. Classic and free-threaded. Generational and single-pass. With eager and delayed untracking. We cover it all! Explicitly.


## Timestamps


(00:00:00) THE FUCKING INTRO

(00:02:03) PART 0: SPORTS NEWS

(00:03:19) PART 1: GARBAGE COLLECTION

(00:03:57) The big problem with refcounting

(00:08:35) Solving reference cycles through PyGC_Head

(00:11:45) 64 bits ought to be enough for anybody

(00:17:30) Why a doubly-linked list?

(00:21:15) How reference counting makes finding cycles easier

(00:26:25) Roots bloody roots

(00:30:17) How are objects in the cycle destroyed?

(00:31:58) Object resurrection

(00:43:21) Why do you need "generations"?

(00:52:26) Delayed untracking

(00:54:46) Weak references, strong problems

(00:59:19) GC in free threading

(01:03:27) Reference counting in free-threading builds

(01:10:08) Incremental GC talk is DEFERRED

(01:11:00) PART 2: PR OF THE WEEK

(01:17:15) Type checking the standard library itself?

(01:29:51) PART 3: WHAT'S GOING ON IN CPYTHON?

(01:30:15) Free-threading changes

(01:32:54) Performance updates

(01:36:11) http.server supports HTTPS!

(01:37:01) PEP 768 and 758 landed

(01:37:34) HACL*

(01:38:24) fnmatch.filterfalse()

(01:38:54) Bugfixes

(01:42:46) Curiosities

(01:54:49) OUTRO

No similar episodes found.

Mums with Bright Ideas Melissa Pye Mums with Bright Ideas Podcast is for Mums looking for inspo and know-how to start and grow their own business. The Host, Melissa Pye, is a straight shooter and doesn't shy away from asking probing questions to get to the core of what life is really like as a biz owner.Melissa's guests are Mums at different stages of their biz journey who share their story, warts and all. Melissa adopts what she calls a "No Peacocking Policy" so that listeners will always get the real story. To help Mums on their biz journey, Melissa also interviews subject matter experts on finance, marketing, operations, HR and just about anything that will help a biz grow.Melissa has 30 years biz experience, half of that in senior marketing roles in Australia and Asia working with brands including Hyundai, Audi, Jaguar, Optus and Westin Hotels. Melissa launched her first biz 15 years ago and has never looked back! Her latest biz, The LightBulb Lounge, provides courses and a community for Mums starting their bi Sean vigue fitness Sean Vigue Fitness Features world class Yoga, Pilates and core workouts with personal training and fun bootcamps from central Florida’s premier fitness instructor - Sean Vigue. Find eating tips and the most current health and fitness news. Videos updated weekly.Check out my award winning Pilates for Men workout on my website.www.seanviguefitness.com www.facebook.com/seanvigue Core EM - Emergency Medicine Podcast Core EM Core EM Emergency Medicine Podcast Core IM | Internal Medicine Podcast Core IM Team Core Internal Medicine via following series:5 Pearls || Clinically relevant pearls Mind the Gap || Why do we do what we do?Gray Matters || Management ReasoningHoofbeats || Dissecting clinical reasoningAt the Bedside || Explore everyday challenges
URL copied to clipboard!