Skip to content

Add section about the design of CPython's garbage collector - #562

Merged
pablogsal merged 28 commits into
python:masterfrom
pablogsal:gc
Jan 21, 2020
Merged

Add section about the design of CPython's garbage collector#562
pablogsal merged 28 commits into
python:masterfrom
pablogsal:gc

Conversation

@pablogsal

@pablogsalpablogsal commented Jan 20, 2020

Copy link
Copy Markdown
Member

The design of CPython's garbage collector is normally not very well documented anywhere in detail or the documentation is dispersed across multiple places and it on top of that it has plenty of arcane implementation details that difficulties its understanding by just reading the code.

This section is an expanded version of my talk at PyconUS: https://www.youtube.com/watch?v=CLW5Lyc1FN8&t=1428s

@pablogsal

pablogsal commented Jan 20, 2020

Copy link
Copy Markdown
MemberAuthor

@pablogsal
pablogsalforce-pushed the gc branch 6 times, most recently from d8105aa to e59e382CompareJanuary 20, 2020 22:16
Comment threadgarbage_collector.rst Outdated
Co-Authored-By: Tim Peters <tim.peters@gmail.com>
Comment threadgarbage_collector.rst
pablogsaland others added 2 commits January 20, 2020 22:29
Co-Authored-By: Tim Peters <tim.peters@gmail.com>
@pablogsal

Copy link
Copy Markdown
MemberAuthor

@tim-one I hope you like this addition to the dev guide :)

Comment threadgarbage_collector.rst
Co-Authored-By: Tim Peters <tim.peters@gmail.com>
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
Comment threadgarbage_collector.rst Outdated
@pablogsal

pablogsal commented Jan 21, 2020

Copy link
Copy Markdown
MemberAuthor

This is getting very big already so am going to go ahead and land it and future improvements/fixes can be made as separate PRs.

Thanks a lot to everyone involved for your useful comments, reviews and suggestions 🎉

@pablogsal
pablogsal merged commit d43d6e9 into python:masterJan 21, 2020
@pablogsal
pablogsal deleted the gc branch January 21, 2020 14:04
AA-Turner pushed a commit to AA-Turner/devguide that referenced this pull request Jun 17, 2022
Co-Authored-By: Tim Peters <tim.peters@gmail.com>
Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Brett Cannon <brettcannon@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@pablogsal@brettcannon@encukou@tim-one@terryjreedy@the-knights-who-say-ni