[issue23719] PEP 475: port test_eintr to Windows

2017-11-23 Thread STINNER Victor
STINNER Victor added the comment: Sorry, I lost track of this idea, and I was unable to review win32-sleep-test.diff :-( While it would be "nice to have", the code is well tested on Unix. I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___

[issue23719] PEP 475: port test_eintr to Windows

2015-09-03 Thread STINNER Victor
STINNER Victor added the comment: The change ed0e6a9c11af replaced os.fork() with subprocess to try to fix race conditions in test_eintr (the test sometimes hangs on FreeBSD buildbots). os.fork() is not available on Windows, so this change should help to port test_eintr to Windows. About win3

[issue23719] PEP 475: port test_eintr to Windows

2015-04-13 Thread John Ehresman
John Ehresman added the comment: Here's the 1st draft of a test for interrupts during time.sleep(). It creates a thread to generate the ctrl-c events which seems to work well (note that kill() on win32 is quite limited in terms of sending events to other processes). The creation and use of t

[issue23719] PEP 475: port test_eintr to Windows

2015-03-20 Thread STINNER Victor
New submission from STINNER Victor: Currently, test_eintr is complelty skipped on Windows. time.sleep() was also patched on Windows to retry when interrupted by a signal (issue #23646) and I was able to see a different when testing manually. test_eintr is currently implemented with signal.seti

[issue23719] PEP 475: port test_eintr to Windows

2015-03-20 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Tests, Windows nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___ Python