We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
1 parent 0620d71 commit ec1b57cCopy full SHA for ec1b57c
include/pybind11/detail/common.h
@@ -324,10 +324,7 @@ PYBIND11_WARNING_POP
324
#endif
325
326
// See description of PR #4246:
327
-#if !defined(NDEBUG) && !defined(PY_ASSERT_GIL_HELD_INCREF_DECREF) \
328
- && !(defined(PYPY_VERSION) \
329
- && defined(_MSC_VER)) /* PyPy Windows: pytest hangs indefinitely at the end of the \
330
- process (see PR #4268) */ \
+#if !defined(NDEBUG) && !defined(PY_ASSERT_GIL_HELD_INCREF_DECREF) && !defined(PYPY_VERSION) \
331
&& !defined(PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF)
332
# define PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
333
0 commit comments