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 vstinner
Recipients efiop, eryksun, gregory.p.smith, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-07-01.10:41:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561977699.63.0.440481111141.issue37380@roundup.psfhosted.org>
In-reply-to
Content
> subprocess._active[0]._handle.Close()

Why would you do that? You should not access the private _active list, nor access the private _handle attribute. I understand that it's a way to trigger such bug, but is it possible to trigger this bug without accessing any private attribute?


> I wouldn't want _internal_poll to silence this error, but maybe it could be translated into a warning

I disagree with that. It's very bad is suddenly the handle becomes invalid for no obvious reason. It's better to get an hard error (exception) in such case.
History
Date User Action Args
2019-07-01 10:41:39vstinnersetrecipients: + vstinner, gregory.p.smith, paul.moore, tim.golden, zach.ware, eryksun, steve.dower, efiop
2019-07-01 10:41:39vstinnersetmessageid: <1561977699.63.0.440481111141.issue37380@roundup.psfhosted.org>
2019-07-01 10:41:39vstinnerlinkissue37380 messages
2019-07-01 10:41:39vstinnercreate