mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 22:52:01 +00:00
[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>
This commit is contained in:
parent
037641780d
commit
2de6e398e1
@ -329,7 +329,8 @@ PYBIND11_WARNING_POP
|
|||||||
&& defined(_MSC_VER)) /* PyPy Windows: pytest hangs indefinitely at the end of the \
|
&& defined(_MSC_VER)) /* PyPy Windows: pytest hangs indefinitely at the end of the \
|
||||||
process (see PR #4268) */ \
|
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
|
// The following define will be enabled by default in the 2.11 release
|
||||||
|
// define PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// #define PYBIND11_STR_LEGACY_PERMISSIVE
|
// #define PYBIND11_STR_LEGACY_PERMISSIVE
|
||||||
|
Loading…
Reference in New Issue
Block a user