Message312256
os.dup2() tests for dup3() system call availability at runtime, but doesn't remember the result across calls, repeating the test on each call with inheritable=False even if the test fails.
Judging by the code, 'dup3_works' was intended to be static (the first time its value is checked it's always an initial one). |
|
Date |
User |
Action |
Args |
2018-02-16 23:10:17 | izbyshev | set | recipients:
+ izbyshev, vstinner, benjamin.peterson |
2018-02-16 23:10:17 | izbyshev | set | messageid: <1518822617.35.0.467229070634.issue32859@psf.upfronthosting.co.za> |
2018-02-16 23:10:17 | izbyshev | link | issue32859 messages |
2018-02-16 23:10:17 | izbyshev | create | |
|