[Python-Dev] Bytecode analysis

Guido van Rossum guido@python.org
Wed, 26 Feb 2003 10:52:16 -0500


> I have long had a version of dis.py which imports opcode info from
> a separate opcodes.py.  Perhaps it's time to make that change.  opcodes.py
> could then be mostly generated automatically from Include/opcode.h.
> 
> (The reason for separating this out is to make opcode info available to
> other modules, like peephole optimizers.)
> 
> Should I submit a patch?

Yes please!

--Guido van Rossum (home page: http://www.python.org/~guido/)