mirror of
https://github.com/python/cpython.git
synced 2025-11-15 00:00:00 +00:00
Adds missing assert suppression.
This commit is contained in:
parent
18f3a9b93c
commit
654a7bdf57
1 changed files with 4 additions and 0 deletions
|
|
@ -5030,11 +5030,13 @@ os_spawnv_impl(PyObject *module, int mode, path_t *path, PyObject *argv)
|
||||||
mode = _P_OVERLAY;
|
mode = _P_OVERLAY;
|
||||||
|
|
||||||
Py_BEGIN_ALLOW_THREADS
|
Py_BEGIN_ALLOW_THREADS
|
||||||
|
_Py_BEGIN_SUPPRESS_IPH
|
||||||
#ifdef HAVE_WSPAWNV
|
#ifdef HAVE_WSPAWNV
|
||||||
spawnval = _wspawnv(mode, path->wide, argvlist);
|
spawnval = _wspawnv(mode, path->wide, argvlist);
|
||||||
#else
|
#else
|
||||||
spawnval = _spawnv(mode, path->narrow, argvlist);
|
spawnval = _spawnv(mode, path->narrow, argvlist);
|
||||||
#endif
|
#endif
|
||||||
|
_Py_END_SUPPRESS_IPH
|
||||||
Py_END_ALLOW_THREADS
|
Py_END_ALLOW_THREADS
|
||||||
|
|
||||||
free_string_array(argvlist, argc);
|
free_string_array(argvlist, argc);
|
||||||
|
|
@ -5122,11 +5124,13 @@ os_spawnve_impl(PyObject *module, int mode, path_t *path, PyObject *argv,
|
||||||
mode = _P_OVERLAY;
|
mode = _P_OVERLAY;
|
||||||
|
|
||||||
Py_BEGIN_ALLOW_THREADS
|
Py_BEGIN_ALLOW_THREADS
|
||||||
|
_Py_BEGIN_SUPPRESS_IPH
|
||||||
#ifdef HAVE_WSPAWNV
|
#ifdef HAVE_WSPAWNV
|
||||||
spawnval = _wspawnve(mode, path->wide, argvlist, envlist);
|
spawnval = _wspawnve(mode, path->wide, argvlist, envlist);
|
||||||
#else
|
#else
|
||||||
spawnval = _spawnve(mode, path->narrow, argvlist, envlist);
|
spawnval = _spawnve(mode, path->narrow, argvlist, envlist);
|
||||||
#endif
|
#endif
|
||||||
|
_Py_END_SUPPRESS_IPH
|
||||||
Py_END_ALLOW_THREADS
|
Py_END_ALLOW_THREADS
|
||||||
|
|
||||||
if (spawnval == -1)
|
if (spawnval == -1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue