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 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 <1425358050.39.0.622229142204.issue21619@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for that link; the answer by Eryksun <https://stackoverflow.com/questions/23688492/oserror-errno-22-invalid-argument-in-subprocess#28020096> 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, <https://bugs.python.org/issue21619#msg236949>. 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.
History
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: <1425358050.39.0.622229142204.issue21619@psf.upfronthosting.co.za>
2015-03-03 04:47:30martin.panterlinkissue21619 messages
2015-03-03 04:47:29martin.pantercreate