Python's architecture

Jonas Bengtsson jonas.b at home.se
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
Python: http://wiki.cs.uiuc.edu/cs427/PYTHON

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 home.com> wrote in message news:<Tnuo7.12547$5A3.3540910 at news1.rdc2.pa.home.com>...
> "Jonas Bengtsson" <jonas.b at home.se> wrote in message
> news:4e2ddb70.0109140637.1a603460 at posting.google.com...
> > 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