Skip to content

Commit 2de6e39

Browse files
[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 <[email protected]>
1 parent 0376417 commit 2de6e39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/pybind11/detail/common.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,8 @@ PYBIND11_WARNING_POP
329329
&& defined(_MSC_VER)) /* PyPy Windows: pytest hangs indefinitely at the end of the \
330330
process (see PR #4268) */ \
331331
&& !defined(PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF)
332-
# define PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
332+
// The following define will be enabled by default in the 2.11 release
333+
// define PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF
333334
#endif
334335

335336
// #define PYBIND11_STR_LEGACY_PERMISSIVE

0 commit comments

Comments
 (0)