[issue46465] Regression caused by CALL_FUNCTION specialization for C function calls

Ken Jin report at bugs.python.org
Sun Jan 23 08:24:27 EST 2022


Ken Jin <kenjin4096 at gmail.com> added the comment:

A short summary (thanks to Victor's findings!):

- os.kill(pid, signal.SIGINT) is specialized to CALL_NO_KW_FAST
- CALL_NO_KW_FAST doesn't check eval breaker, so the signal is ignored
- signal handler wasn't called, test fails

I'd like to add tests for some of the other CALL_X in the future, but I'm a little short on time at the moment, sorry! For now, I've tried to turn some of the tests "hot" to see if I can get those to trigger.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46465>
_______________________________________


More information about the Python-bugs-list mailing list