Message340415
Thanks Rudolph Froger for the bug report: the issue is now fixed in 3.7 and master (future Python 3.8) branches. Sorry for the delay.
--
Alexey Izbyshev wrote PR 5773 to also use fstat() on Linux.
I chose to merge my PR 12852 which is more conservative: it keeps dup() on Linux. I'm not sure why exactly, but I recall that the author of the function, Antoine Pitrou, wanted to use dup() on Linux.
I'm not convinced by the O_PATH issue on Linux (described above), so I merged my conservative change instead.
Later, we can still move to fstat() on Linux as well if someone comes with a more concrete example against dup(). |
|
Date |
User |
Action |
Args |
2019-04-17 16:36:19 | vstinner | set | recipients:
+ vstinner, koobs, izbyshev, rudolphf, Владислав Ярмак |
2019-04-17 16:36:19 | vstinner | set | messageid: <1555518979.68.0.288121213319.issue32849@roundup.psfhosted.org> |
2019-04-17 16:36:19 | vstinner | link | issue32849 messages |
2019-04-17 16:36:19 | vstinner | create | |
|