[New-bugs-announce] [issue23719] PEP 475: port test_eintr to Windows

STINNER Victor report at bugs.python.org
Fri Mar 20 13:09:51 CET 2015

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list