Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 28 commits into from Jan 21, 2020

Conversation

Copy link
Member

@pablogsal pablogsal commented Jan 20, 2020

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
Copy link
Member Author

@pablogsal pablogsal commented Jan 20, 2020

garbage_collector.rst Outdated Show resolved Hide resolved
Co-Authored-By: Tim Peters <tim.peters@gmail.com>
pablogsal and others added 2 commits Jan 20, 2020
Co-Authored-By: Tim Peters <tim.peters@gmail.com>
@pablogsal
Copy link
Member Author

@pablogsal pablogsal commented Jan 20, 2020

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

Co-Authored-By: Tim Peters <tim.peters@gmail.com>
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
garbage_collector.rst Outdated Show resolved Hide resolved
@pablogsal
Copy link
Member Author

@pablogsal pablogsal commented Jan 21, 2020

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:master Jan 21, 2020
6 checks passed
@pablogsal pablogsal deleted the gc branch Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants