Tall Jeff
Tall Jeff

Reputation: 9994

Docs for the internals of CPython Implementation

I am currently in the process of making an embedded system port of the CPython 3.0 Python interpreter and I'm particularly interested in any references or documentation that provides details about the design and structure of code for Release 3.0 or even about any of the 2.x releases.

One useful document I have found so far is this informational PEP on the implementation - which is a good overview - but is still pretty high level. Hoping to come across something that gives [much] more detail on more of the modules or perhaps even covers something about porting considerations.

Upvotes: 8

Views: 1335

Answers (2)

Benjamin Peterson
Benjamin Peterson

Reputation: 20530

Most of the documentation is stored in the minds of various core developers. :) A good resource for you would be the #python-dev IRC channel on freenode where many of them hang out.

There's also some scattered information on the Python wiki.

Upvotes: 1

Ned Batchelder
Ned Batchelder

Reputation: 375634

There's the documentation for the C API, which is essentially the API for the internals of Python. It won't cover porting details, though. The code itself is fairly well documented. You might try reading in and around the area you'll need to modify.

Upvotes: 8

Related Questions