CPython VM internals - Wiki page

John Nagle nagle at animats.com
Tue Jul 22 14:48:25 EDT 2008


Terry Reedy wrote:
> Various people have asked on c.l.p about documentation of CPython's 
> virtual machine internals.  The usual answers have been to see the dis 
> module doc for bytecodes and 'read the code' for more.  Jakob Sievers 
> did so and posted his notes, with additions from Martin v. Löwis, as
> 
> http://wiki.python.org/moin/CPythonVmInternals

     That's interesting. It's dumber than I thought.  All temporaries
on the stack are "boxed" as PyObjects.  That's simple and portable,
but slow.

				John Nagle



More information about the Python-list mailing list