mirror of
https://github.com/python/cpython.git
synced 2025-08-26 11:45:20 +00:00
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...
This commit is contained in:
parent
b05e056e9f
commit
53d58bb369
7 changed files with 144 additions and 55 deletions
|
@ -254,7 +254,6 @@ def_op('INPLACE_XOR', 78)
|
|||
def_op('INPLACE_OR', 79)
|
||||
def_op('BREAK_LOOP', 80)
|
||||
|
||||
def_op('RETURN_NONE', 81)
|
||||
def_op('LOAD_LOCALS', 82)
|
||||
def_op('RETURN_VALUE', 83)
|
||||
def_op('IMPORT_STAR', 84)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue