Python's architecture

Jonas Bengtsson jonas.b at
Sat Sep 15 13:19:24 CEST 2001

Thanks for you answer!
Now I finally got a source with an explanation of the architecture of

But it would be nice to have some other sources...

About reading the source code they state:
"Constructing an architectural picture from only source code is very
tedious work"

/Jonas Bengtsson

"Terry Reedy" <tjreedy at> wrote in message news:<Tnuo7.12547$5A3.3540910 at>...
> "Jonas Bengtsson" <jonas.b at> wrote in message
> news:4e2ddb70.0109140637.1a603460 at
> > I want documentation about the python interpretator
> The best documentation you will find is the source code itself.
> Seriously.  If you know enough to use the word 'architecture', you
> should be able to anwer most of your questions is a couple of hours.
> It is all pretty clearly written C.
> Some hints: last time I looked, that was one file for the grammar, one
> for the lexer, one or more for parser/compiler, one for the PyCode
> evaluation loop (the interpreter proper), and one for each built-in
> type, each of these having the same format.  The last point means that
> there is much less to look at than it would initially seem.
> Terry J. Reedy

More information about the Python-list mailing list