]> granicus.if.org Git - python/commit
Further SET_LINENO reomval fixes. See comments in patch #587933.
authorMichael W. Hudson <mwh@python.net>
Fri, 30 Aug 2002 13:09:51 +0000 (13:09 +0000)
committerMichael W. Hudson <mwh@python.net>
Fri, 30 Aug 2002 13:09:51 +0000 (13:09 +0000)
commit53d58bb369fbbc1ae93ca423f30b3beb2d83a9a1
treed2cfada7ddfa673a343155bfbad7de1166ea3790
parentb05e056e9f17f68daf106e1b018d1bbab2943148
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...
Doc/lib/libdis.tex
Doc/whatsnew/whatsnew23.tex
Include/opcode.h
Lib/dis.py
Lib/test/test_trace.py [new file with mode: 0644]
Python/ceval.c
Python/compile.c