mirror of
https://github.com/python/cpython.git
synced 2025-09-08 18:01:44 +00:00
GH-121131: Clean up and fix some instrumented instructions. (GH-121132)
* Add support for 'prev_instr' to code generator and refactor some INSTRUMENTED instructions
This commit is contained in:
parent
d9efa45d74
commit
afb0aa6ed2
15 changed files with 277 additions and 215 deletions
|
@ -2857,7 +2857,7 @@ output.append(4)
|
|||
output.append(1)
|
||||
1 / 0
|
||||
|
||||
@jump_test(3, 2, [2, 5], event='return')
|
||||
@jump_test(3, 2, [2, 2, 5], event='return')
|
||||
def test_jump_from_yield(output):
|
||||
def gen():
|
||||
output.append(2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue