[Python-Dev] Poking about issue 1677 (original) (raw)
Tim Golden mail at timgolden.me.uk
Wed Jun 27 20:52:13 CEST 2012
- Previous message: [Python-Dev] Poking about issue 1677
- Next message: [Python-Dev] os.path.exists() / os.path.isdir() inconsistency when dealing with gvfs directories
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
- Previous message: [Python-Dev] Poking about issue 1677
- Next message: [Python-Dev] os.path.exists() / os.path.isdir() inconsistency when dealing with gvfs directories
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]