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 gregory.p.smith
Recipients georg.brandl, gregory.p.smith, kaizhu, loewis
Date 2011-01-02.20:17:10
SpamBayes Score 3.191858e-07
Marked as misclassified No
Message-id <1293999443.12.0.953645760659.issue10802@psf.upfronthosting.co.za>
In-reply-to
Content
This bug has brought up a broader issue.  the pipe2 syscall on Linux is very new.  It is perfectly reasonable to expect a Python binary will be compiled against a C library that has a pipe2() function but run on a system with an older (pre 2.6.27) linux kernel.  I have many systems like that at work.

I'm going to make subprocess_cloexec_pipe check for a not implemented error from the pipe2 call and use the fallback pipe+fcntl code in that case instead.
History
Date User Action Args
2011-01-02 20:17:23gregory.p.smithsetrecipients: + gregory.p.smith, loewis, georg.brandl, kaizhu
2011-01-02 20:17:23gregory.p.smithsetmessageid: <1293999443.12.0.953645760659.issue10802@psf.upfronthosting.co.za>
2011-01-02 20:17:10gregory.p.smithlinkissue10802 messages
2011-01-02 20:17:10gregory.p.smithcreate