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 izbyshev
Recipients benjamin.peterson, izbyshev, vstinner
Date 2018-02-16.23:10:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518822617.35.0.467229070634.issue32859@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2018-02-16 23:10:17izbyshevsetrecipients: + izbyshev, vstinner, benjamin.peterson
2018-02-16 23:10:17izbyshevsetmessageid: <1518822617.35.0.467229070634.issue32859@psf.upfronthosting.co.za>
2018-02-16 23:10:17izbyshevlinkissue32859 messages
2018-02-16 23:10:17izbyshevcreate