[Python-checkins] python/dist/src/Lib dis.py,1.43,1.44
mwh@users.sourceforge.net
mwh@users.sourceforge.net
Fri, 30 Aug 2002 06:10:22 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv24418/Lib
Modified Files:
dis.py
Log Message:
Further SET_LINENO reomval fixes. See comments in patch #587933.
Use a slightly different strategy to determine when not to call the line
trace function. This removes the need for the RETURN_NONE opcode, so
that's gone again. Update docs and comments to match.
Thanks to Neal and Armin!
Also add a test suite. This should have come with the original patch...
Index: dis.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/dis.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** dis.py 23 Aug 2002 18:19:29 -0000 1.43
--- dis.py 30 Aug 2002 13:09:49 -0000 1.44
***************
*** 255,259 ****
def_op('BREAK_LOOP', 80)
- def_op('RETURN_NONE', 81)
def_op('LOAD_LOCALS', 82)
def_op('RETURN_VALUE', 83)
--- 255,258 ----