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.setitimer() and os.fork(). 
Windows doesn't have signal.setitimer(), signal.alarm(), nor os.fork(), but 
it's possible to send a signal to another process using os.kill() (by the way, 
see the issue #14484 "missing return in win32_kill?").

At least, time.sleep() should be tested on Windows.

----------
messages: 238652
nosy: haypo
priority: normal
severity: normal
status: open
title: PEP 475: port test_eintr to Windows
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23719>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to