Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ test_subinterpreter.cpp
File
test_subinterpreter.cpp
tests/test_with_catch/test_subinterpreter.cpp:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#include <pybind11/embed.h>
2
#ifdef PYBIND11_HAS_SUBINTERPRETER_SUPPORT
3
# include <pybind11/gil_safe_call_once.h>
4
# include <pybind11/subinterpreter.h>
Callers
nothing calls this directly
Calls
15
import
Function · 0.85
unsafe_reset_internals_for_single_interpreter
Function · 0.85
has_state_dict_internals_obj
Function · 0.85
list
Class · 0.85
str
Class · 0.85
get_details_as_uintptr
Function · 0.85
hasattr
Function · 0.85
create
Function · 0.85
int_
Class · 0.85
weakref
Class · 0.85
cpp_function
Class · 0.85
attr
Method · 0.80
Tested by
no test coverage detected