Hi all, I've all of a sudden gotten interested in the CPython interpreter, and 
started trying to understand how it ingests and runs byte code.  I found 
Include/opcode.h in the python sources, and I found some basic documentation on 
how to add in new opcodes online, but I haven't found the equivalent of an 
assembly manual like you might for x86, etc.  Is there something similar to a 
manual dedicated to python byte code?  Also, is there a manual for how the 
interpreter expects the stack, etc. to be setup so that all interactions go as 
expected (garbage collections works, exceptions work, etc.)?  Basically, I want 
a manual similar to what Intel or AMD might put out for their chips so that all 
executables behave nicely with one another.

Thanks,
Cem Karan
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to