Message345800
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:01 | vstinner | set | recipients:
+ vstinner, paul.moore, tim.golden, zach.ware, steve.dower, ZackerySpytz |
2019-06-17 07:21:01 | vstinner | set | messageid: <1560756061.05.0.150766288359.issue37267@roundup.psfhosted.org> |
2019-06-17 07:21:01 | vstinner | link | issue37267 messages |
2019-06-17 07:21:00 | vstinner | create | |
|