- 简体中文
- Watch this repo if you need to be notified when there's update
This repository is my notes/blog for cpython source code
Trying to illustrate every detail of cpython implementation
# based on version 3.8.0a0
cd cpython
git reset --hard ab54b9a130c88f708077c2ef6c4963b632c132b3
- dict
- long/int
- unicode/str
- set
- list
- tuple
- bytes
- bytearray(buffer protocol)
- float
- func(user-defined method)
- method(builtin method)
- iter
- gen(generator/coroutine/async generator)
- class(bound method/classmethod/staticmethod)
- complex
- enum
- type
- io
- re(regex)
- asyncio
- frame
- code
- descr(how does attribute access work/
__get__
/__set__
) - exception(exception handling)
- module(how does import work)
- namespace
- gil
- gc
- memory management
- thread
- interpreter
I will only recommend what I've read