diff options
author | Ross Lagerwall <rosslagerwall@gmail.com> | 2011-12-22 07:07:30 (GMT) |
---|---|---|
committer | Ross Lagerwall <rosslagerwall@gmail.com> | 2011-12-22 07:07:30 (GMT) |
commit | 031bf95d3212d246a44e8e3a23ff32023ab905e9 (patch) | |
tree | 1345009e8ead6674e83bebe939907a2dcc033db1 /Modules/_posixsubprocess.c | |
parent | 3ba95f8bd984a0033c0b2da9974f67f537dedc9e (diff) | |
download | cpython-031bf95d3212d246a44e8e3a23ff32023ab905e9.zip cpython-031bf95d3212d246a44e8e3a23ff32023ab905e9.tar.gz cpython-031bf95d3212d246a44e8e3a23ff32023ab905e9.tar.bz2 |
Issue #11006: Don't issue low level warning in subprocess when pipe2() fails.
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 11b24a0..4e38bbe 100644 --- a/Modules/_posixsubprocess.c +++ b/Modules/_posixsubprocess.c @@ -437,12 +437,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 |