Charles-François Natali <neolo...@free.fr> added the comment: > 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? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12196> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com