Dive into CPython internals, trying to illustrate every detail of CPython implementation
C
5,084
412 commits
updated Feb 3, 2026
This repository contains my notes/blog for cpython source code
It attempts to illustrate every detail of CPython implementation
# based on version 3.8.0a0
cd cpython
git reset --hard ab54b9a130c88f708077c2ef6c4963b632c132b3
The following content is suitable for those who have Python programming experience and are interested in the internals of the Python interpreter. For those who need beginner or advanced material, please refer to awesome-python-books
__get__/__getattribute__/__getattr__)__slots__(how does attribute initialized in the creation of class/instance)I only recommend materials I've read
All kinds of contributions are welcome
(top 24 of 56)
421 followers · starred Jan 2026
759 followers · starred Mar 2025
3,317 followers · starred Dec 2021
163 followers · starred Aug 2024
Dive into CPython internals, trying to illustrate every detail of CPython implementation
C
5,084
412 commits
updated Feb 3, 2026
This repository contains my notes/blog for cpython source code
It attempts to illustrate every detail of CPython implementation
# based on version 3.8.0a0
cd cpython
git reset --hard ab54b9a130c88f708077c2ef6c4963b632c132b3
The following content is suitable for those who have Python programming experience and are interested in the internals of the Python interpreter. For those who need beginner or advanced material, please refer to awesome-python-books
__get__/__getattribute__/__getattr__)__slots__(how does attribute initialized in the creation of class/instance)I only recommend materials I've read
All kinds of contributions are welcome
(top 24 of 56)
421 followers · starred Jan 2026
759 followers · starred Mar 2025
3,317 followers · starred Dec 2021
163 followers · starred Aug 2024