-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Open
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
Description
Currently, setting the line number of a frame in a PY_RESUME
event is allowed, but was accidentally broken in d27acd4
However, setting a line number is not allowed for PY_START
events.
Historically both these events were treated as CALL
events by sys.settrace
, and setting the line number was not allowed.
I think, that for consistency, setting the line number of a frame in a PY_RESUME
event should not be allowed.
@gaogaotiantian thoughts?
Linked PRs
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)