-
-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I propose that we collaborate on creating a guided tour to the CPython source code. I think such a thing is vastly overdue, and I am not aware of existing resources (though I'll gladly take pointers that prove me wrong).
I've more or less promised @emilymorehouse to help her get started with something like this, and I'm happy to put time in. @willingc I hope you think this would be a useful document to maintain in this repo? I suppose it would go under the cpython tree.
The proposed document differs from the existing guides like the devguide -- it doesn't tell you anything about the patch submission flow, nor even how to get things to build -- it should focus on how to read the CPython source code (using your editor of choice).
Some topics could include:
- structure of the source code (what goes into Include, Objects, Python etc.)
- bytecode (could start with @akaptur's videos)
- reference counting
- how to find the definition of something
- how to find where a given error comes from