Race on _PyRuntime.signals.unhandled_keyboard_interrupt
when calling eval()
concurrently in free-threading mode
#128130
Labels
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
extension-modules
C modules in the Modules dir
topic-free-threading
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
Run the following code under Python 3.13.1t with thread-sanitizer enabled:
Get:
I think
namedtuple
callseval()
, which triggers a race here:cpython/Python/pythonrun.c
Line 1318 in 0671451
CPython versions tested on:
3.13
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: