[Compiler-sig] Python Bytecode

Timothy Downs timdowns@hotmail.com
Wed, 05 Apr 2000 01:52:19 PDT


I'm interested in writing a Python Virtual Machine, which processes the 
Python Bytecode (ie, the *pyc files).

However, I cannot work out the format from the python source :(.
Just wondering if anyone has any information of the format for the pyc 
files, for example, when the empty .py file produces a 100 byte or so pyc 
file.

Information of bytecode programming, Python, or otherwise would be very 
hand.

(BTW. yes i have read the Python standard docs (dis.dis))

Thanks Heaps

timdowns@hotmail.com
Tim Downs
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com