[Python-Dev] Poking about issue 1677 (original) (raw)

Tim Golden mail at timgolden.me.uk
Wed Jun 27 20:52:13 CEST 2012


I can confirm that there is a race condition between the code in myreadline.c and the signal_handler. I have a patch in readiness which basically loops until the signal has been tripped.

But what I don't know is: what to do if the signal still doesn't trip (after 100 millisecond-retries)? At present the code just drops through (with a comment warning) which is why we're seeing the interpreter exit. What should happen, though? Raise SystemError?



More information about the Python-Dev mailing list