Skip to content

Commit

Permalink
[v2.10] Revert the addition of the GIL check feature (#4432)
Browse files Browse the repository at this point in the history
* Revert the GIL check

* Update include/pybind11/detail/common.h

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
  • Loading branch information
EthanSteinberg and henryiii committed Dec 30, 2022
1 parent 0376417 commit 2de6e39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/pybind11/detail/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2de6e39

Please sign in to comment.