You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internals.rst
+19-3Lines changed: 19 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,14 @@
1
-
.. _exploring:
1
+
.. _internals:
2
2
3
3
===================
4
+
CPython's internals
5
+
===================
6
+
7
+
This guide describes the basics of CPython’s internals.
8
+
It explains the layout of CPython’s source code.
9
+
10
+
.. _exploring:
11
+
4
12
CPython source code
5
13
===================
6
14
@@ -9,7 +17,7 @@ a summary of file locations for modules and built-ins.
9
17
10
18
11
19
Source code layout
12
-
==================
20
+
------------------
13
21
14
22
For a Python :term:`module`, the typical layout is:
15
23
@@ -46,7 +54,7 @@ Some exceptions to these layouts are:
46
54
47
55
48
56
Additional references
49
-
=====================
57
+
---------------------
50
58
51
59
The CPython code base is constantly changing and evolving.
52
60
Here's a sample of references about CPython's architecture aimed at
@@ -92,3 +100,11 @@ building your understanding of CPython internals and its evolution:
92
100
.. _A guide from parser to objects, observed using Eclipse: https://docs.google.com/document/d/1nzNN1jeNCC_bg1LADCvtTuGKvcyMskV1w8Ad2iLlwoI/
93
101
94
102
.. _CPython internals\: A ten-hour codewalk through the Python interpreter source code: https://www.youtube.com/playlist?list=PLzV58Zm8FuBL6OAv1Yu6AwXZrnsFbbR0S
103
+
104
+
105
+
CPython InternalDocs
106
+
====================
107
+
108
+
For more detailed and up-to-date documentation on CPython's internals,
109
+
please refer to the `InternalDocs folder <https://github.com/python/cpython/tree/main/InternalDocs>`_
0 commit comments