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 eryksun
Recipients Steve Barnes, docs@python, eryksun, paul.moore, r.david.murray, steve.dower, tim.golden, zach.ware
Date 2021-02-26.21:17:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614374245.09.0.610173472852.issue29829@roundup.psfhosted.org>
In-reply-to
Content
This problem can be addressed most easily in _get_handles() by combining the case of an invalid standard handle with that of a NULL standard handle, for which a file handle is validated via GetFileType(). However, that leaves a small window for the handle to become invalid before duplicating it. Instead, _get_handles() could deal with a failed _make_inheritable() call by substituting a pipe handle.
History
Date User Action Args
2021-02-26 21:17:25eryksunsetrecipients: + eryksun, paul.moore, tim.golden, r.david.murray, docs@python, zach.ware, steve.dower, Steve Barnes
2021-02-26 21:17:25eryksunsetmessageid: <1614374245.09.0.610173472852.issue29829@roundup.psfhosted.org>
2021-02-26 21:17:25eryksunlinkissue29829 messages
2021-02-26 21:17:25eryksuncreate