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 <>
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.
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: <>
2019-06-17 07:21:01vstinnerlinkissue37267 messages
2019-06-17 07:21:00vstinnercreate