mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +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 \
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user