We shouldn't be entering invalid executors, it rather invalidates the invalidation. #113595
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error


Bug report
Bug description:
ENTER_EXECUTORdoesn't check if an executor is invalid. We currently get away with this because only instrumentation invalidates executors, and it cleans up theENTER_EXECUTORs.It would be safer if
ENTER_EXECUTORcheck for invalid executors, and it would reduce the coupling between executors and instrumentation.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: