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 neologix
Recipients neologix, pitrou, rosslagerwall, vstinner
Date 2011-05-28.10:42:42
SpamBayes Score 5.0962377e-09
Marked as misclassified No
Message-id <BANLkTimQLrN9FN-5LXnPM4iQ=WEs5J-odg@mail.gmail.com>
In-reply-to <1306570527.9.0.195949367555.issue12196@psf.upfronthosting.co.za>
Content
> Out of interest, is there any reason that the configure check for pipe2 is a special case near the bottom of configure.in instead of with all the other function checks in the AC_CHECK_FUNCS[] section in the middle?

No clue. I'll fix that.

> Also, the pure python implementation of subprocess for posix can now be updated to use pipe2 if it exists (previously on _posixsubprocess.c used it).

I don't understand the last part :-)
What do you suggest?
Use os.pipe2 if available, otherwise use _posixsubprocess.c (because
it has the advantage of running with the GIL held) if available, and
use os.pipe + fcntl as last resort?

By the way, what's the reason for having a both a Python and a C implementation?
Are they some configurations where _posixsubprocess could not be available?
History
Date User Action Args
2011-05-28 10:42:43neologixsetrecipients: + neologix, pitrou, vstinner, rosslagerwall
2011-05-28 10:42:42neologixlinkissue12196 messages
2011-05-28 10:42:42neologixcreate