summaryrefslogtreecommitdiffstats
path: root/Modules/_posixsubprocess.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_posixsubprocess.c')
-rw-r--r--Modules/_posixsubprocess.c6
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