diff options
author | Ross Lagerwall <rosslagerwall@gmail.com> | 2011-12-22 07:10:47 (GMT) |
---|---|---|
committer | Ross Lagerwall <rosslagerwall@gmail.com> | 2011-12-22 07:10:47 (GMT) |
commit | 0b77ac32b204188fa9874299ca39da885365254a (patch) | |
tree | 4878bc507c2e59d0071418ee90e3304c6a3f1888 /Modules/_posixsubprocess.c | |
parent | 80bc72d5a2f7550edbd63d577bb8fb1e3bbba69c (diff) | |
parent | 031bf95d3212d246a44e8e3a23ff32023ab905e9 (diff) | |
download | cpython-0b77ac32b204188fa9874299ca39da885365254a.zip cpython-0b77ac32b204188fa9874299ca39da885365254a.tar.gz cpython-0b77ac32b204188fa9874299ca39da885365254a.tar.bz2 |
Merge with 3.2 for #11006.
Diffstat (limited to 'Modules/_posixsubprocess.c')
-rw-r--r-- | Modules/_posixsubprocess.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/_posixsubprocess.c b/Modules/_posixsubprocess.c index 301f2a5..603fd91 100644 --- a/Modules/_posixsubprocess.c +++ b/Modules/_posixsubprocess.c @@ -442,12 +442,6 @@ subprocess_cloexec_pipe(PyObject *self, PyObject *noargs) Py_END_ALLOW_THREADS if (res != 0 && errno == ENOSYS) { - if (PyErr_WarnEx( - PyExc_RuntimeWarning, - "pipe2 set errno ENOSYS; falling " - "back to non-atomic pipe+fcntl.", 1) != 0) { - return NULL; - } { #endif /* We hold the GIL which offers some protection from other code calling |