Author martin.panter
Recipients Arfrever, akira, dmalcolm, martin.panter, pitrou, python-dev, rosslagerwall, serhiy.storchaka, vstinner
Date 2015-03-03.04:47:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks for that link; the answer by Eryksun <> is particularly enlightening. Apparently EINVAL actually represents an underlying broken pipe condition in Windows. Anyway, as far as the test is concerned, it doesn’t matter what particular exception is raised.

This still doesn’t explain Serhiy’s observation that sometimes no exception is raised at all, <>. Does Windows sometimes not report broken pipe errors, or is my signalling logic not working and there is a race condition? The whole point of the test is to trigger an exception when stdin is closed, so it would be nice to be able to reliably do that on Windows.
Date User Action Args
2015-03-03 04:47:30martin.pantersetrecipients: + martin.panter, pitrou, vstinner, Arfrever, dmalcolm, akira, rosslagerwall, python-dev, serhiy.storchaka
2015-03-03 04:47:30martin.pantersetmessageid: <>
2015-03-03 04:47:30martin.panterlinkissue21619 messages
2015-03-03 04:47:29martin.pantercreate