[Compiler-sig] Python compilation
nas at arctrix.com
Tue Mar 15 02:11:28 CET 2005
On Mon, Mar 14, 2005 at 04:26:38PM -0800, Dave Zhu wrote:
> I would like to have a broad knowledge on Python.
> Basically, I would like to know how parsing,
> compilation, and interpretation take place, how memory
> management works, how the Python interpreter performs
> compared to others, etc. I already looked at Python's
> documentation, but couldn't find any detailed
> information. Any references would be appreciated.
I'm afraid the source code is the best reference there is. If you
are interested in the compilation, I recommend looking at the
'compiler' package that is part of the standard library. It's a
Python implementation and is therefore easier to understand.
If you are interested in the parsing, memory managment, etc., the
C source is the best reference.
More information about the Compiler-sig