mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-21 20:55:11 +00:00
Disable PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
generally for PyPy (not just PyPy Windows). (#4751)
This commit is contained in:
parent
0620d71638
commit
ec1b57c50c
@ -324,10 +324,7 @@ PYBIND11_WARNING_POP
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// See description of PR #4246:
|
// See description of PR #4246:
|
||||||
#if !defined(NDEBUG) && !defined(PY_ASSERT_GIL_HELD_INCREF_DECREF) \
|
#if !defined(NDEBUG) && !defined(PY_ASSERT_GIL_HELD_INCREF_DECREF) && !defined(PYPY_VERSION) \
|
||||||
&& !(defined(PYPY_VERSION) \
|
|
||||||
&& defined(_MSC_VER)) /* PyPy Windows: pytest hangs indefinitely at the end of the \
|
|
||||||
process (see PR #4268) */ \
|
|
||||||
&& !defined(PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF)
|
&& !defined(PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF)
|
||||||
# define PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
|
# define PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user