mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge with 3.2 for #11006.
This commit is contained in:
commit
0b77ac32b2
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue