Setting the line number is ignored in INSTRUMENTED_YIELD_VALUE
#121131
Labels
3.14
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
There is a test for this:
test_jump_from_yield
intest_sys_settrace
, but it expects the wrong value and the jump is ignored.This is a fairly fringe behavior so I'm not sure if this is worth backporting.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: