Commit 2de6e398 by Ethan Steinberg Committed by GitHub

[v2.10] Revert the addition of the GIL check feature (#4432)

* Revert the GIL check

* Update include/pybind11/detail/common.h

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
parent 03764178
......@@ -329,7 +329,8 @@ PYBIND11_WARNING_POP
&& defined(_MSC_VER)) /* PyPy Windows: pytest hangs indefinitely at the end of the \
process (see PR #4268) */ \
&& !defined(PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF)
# define PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
// The following define will be enabled by default in the 2.11 release
// define PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
#endif
// #define PYBIND11_STR_LEGACY_PERMISSIVE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment