[Patches] [ python-Patches-693755 ] Separate opcodes from dis.py
SourceForge.net
noreply@sourceforge.net
Thu, 27 Feb 2003 12:58:43 -0800
Patches item #693755, was opened at 2003-02-26 11:51
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=693755&group_id=5470
Category: Library (Lib)
Group: Python 2.3
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Skip Montanaro (montanaro)
>Assigned to: Skip Montanaro (montanaro)
Summary: Separate opcodes from dis.py
Initial Comment:
This patch implements a few changes I've had in my copy of
dis.py for awhile. In particular, it separates opcode data
definitions into a separate module, allows classes and strings
containing bytecode to be disassembled.
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2003-02-27 15:58
Message:
Logged In: YES
user_id=6380
Looks fine, except it seems you didn't actually delete the
calls to def_op etc. from dis.py!
Also: - maybe rename it to opcode.py in consistency with
both keyword.py and opcode.h.
And it would be nice of opcode.h knew how to update itself
by reading opcode.h, but that's A Separate Project.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=693755&group_id=5470