This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Mark, eryksun, louielu, martin.panter, njs, terry.reedy
Date 2017-06-28.12:46:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498653978.5.0.401804428465.issue29926@psf.upfronthosting.co.za>
In-reply-to
Content
On windows, s=input() is cleanly interrupted by ^-C, leaving s unbound, before and after the patch.  time.sleep(1) is not interrupted, before and after the patch.  Ditto for the socket test.  Louie, what test are you using on *nix?

It still appears that for Windows a patch to signalmodule.c is still needed.  Eryk and Nathaniel, can you agree on an actual patch?

Eryk: off topic a bit, but
>>> open('con', 'w').write('spam\n')
Traceback (most recent call last):
  File "<pyshell#3>", line 1, in <module>
    open('con', 'w').write('spam\n')
OSError: [WinError 6] The handle is invalid: 'con'
History
Date User Action Args
2017-06-28 12:46:18terry.reedysetrecipients: + terry.reedy, njs, martin.panter, Mark, eryksun, louielu
2017-06-28 12:46:18terry.reedysetmessageid: <1498653978.5.0.401804428465.issue29926@psf.upfronthosting.co.za>
2017-06-28 12:46:18terry.reedylinkissue29926 messages
2017-06-28 12:46:18terry.reedycreate