Roundup Robot added the comment:
New changeset 2adc83b4738f by Benjamin Peterson in branch '3.3':
check windows fd validity (closes #16992)
http://hg.python.org/cpython/rev/2adc83b4738f
New changeset 1a1989021451 by Benjamin Peterson in branch '2.7':
check windows fd validity (closes #16992)
htt
New submission from Guido van Rossum:
On Windows I get an immediate crash with the following code:
import signal
signal.set_wakeup_fd(400)
I think there's a range check missing somewhere.
(I found this because I was passing a socket's fileno() -- my bug, but
shouldn't crash.)
--
mess