We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0556fc6 commit fd29471Copy full SHA for fd29471
2 files changed
include/pybind11/detail/common.h
@@ -359,9 +359,7 @@
359
#define PYBIND11_ENSURE_INTERNALS_READY \
360
{ \
361
pybind11::detail::get_internals_pp_manager().unref(); \
362
- pybind11::detail::get_local_internals_pp_manager().unref(); \
363
pybind11::detail::get_internals(); \
364
- pybind11::detail::get_local_internals(); \
365
}
366
367
#if !defined(GRAALVM_PYTHON)
tests/test_multiple_interpreters/test_multiple_interpreters.py
@@ -210,11 +210,11 @@ def test_dependent_subinterpreters():
210
211
PREAMBLE_CODE = textwrap.dedent(
212
"""
213
- import sys
+ def test():
214
+ import sys
215
- sys.path.append('.')
216
+ sys.path.append('.')
217
- def test():
218
import collections
219
import mod_per_interpreter_gil_with_singleton as m
220
0 commit comments