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 ZackerySpytz, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-06-17.07:21:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560756061.05.0.150766288359.issue37267@roundup.psfhosted.org>
In-reply-to
Content
According to the discussion in PR 14051: if os.dup() fails to make the new file descriptor new inheritable for a character device, the error must not be ignored. Instead, the caller is supposed to use os.dup(fd, inheritable=False).

Before *this bugfix*, os.dup() didn't respect its contract: fd2 was inheritable sometimes. Now the caller is aware of such special case and so can handle it properly.
History
Date User Action Args
2019-06-17 07:21:01vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, steve.dower, ZackerySpytz
2019-06-17 07:21:01vstinnersetmessageid: <1560756061.05.0.150766288359.issue37267@roundup.psfhosted.org>
2019-06-17 07:21:01vstinnerlinkissue37267 messages
2019-06-17 07:21:00vstinnercreate