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?
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to