summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-12 03:19:32 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-09-12 03:19:32 (GMT)
commit654a7bdf572aa1732d31b12c1c814ead0321027b (patch)
treefc5e0358fcadfe560a82f0c27e9f902189cf3270 /Modules/posixmodule.c
parent18f3a9b93ccd4caeda3c34d1ce850c2cc33f7722 (diff)
downloadcpython-654a7bdf572aa1732d31b12c1c814ead0321027b.zip
cpython-654a7bdf572aa1732d31b12c1c814ead0321027b.tar.gz
cpython-654a7bdf572aa1732d31b12c1c814ead0321027b.tar.bz2
Adds missing assert suppression.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index ce64684..43e3c77 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -5030,11 +5030,13 @@ os_spawnv_impl(PyObject *module, int mode, path_t *path, PyObject *argv)
mode = _P_OVERLAY;
Py_BEGIN_ALLOW_THREADS
+ _Py_BEGIN_SUPPRESS_IPH
#ifdef HAVE_WSPAWNV
spawnval = _wspawnv(mode, path->wide, argvlist);
#else
spawnval = _spawnv(mode, path->narrow, argvlist);
#endif
+ _Py_END_SUPPRESS_IPH
Py_END_ALLOW_THREADS
free_string_array(argvlist, argc);
@@ -5122,11 +5124,13 @@ os_spawnve_impl(PyObject *module, int mode, path_t *path, PyObject *argv,
mode = _P_OVERLAY;
Py_BEGIN_ALLOW_THREADS
+ _Py_BEGIN_SUPPRESS_IPH
#ifdef HAVE_WSPAWNV
spawnval = _wspawnve(mode, path->wide, argvlist, envlist);
#else
spawnval = _spawnve(mode, path->narrow, argvlist, envlist);
#endif
+ _Py_END_SUPPRESS_IPH
Py_END_ALLOW_THREADS
if (spawnval == -1)