MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / PyImport_ImportModuleNoBlock

Function PyImport_ImportModuleNoBlock

Python/import.c:2143–2184  ·  view source on GitHub ↗

Import a module without blocking * * At first it tries to fetch the module from sys.modules. If the module was * never loaded before it loads it with PyImport_ImportModule() unless another * thread holds the import lock. In the latter case the function raises an * ImportError instead of blocking. * * Returns the module object with incremented ref count. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

PyCapsule_ImportFunction · 0.85
update_lines_colsFunction · 0.85
initgcFunction · 0.85
time_strptimeFunction · 0.85
time_tzsetFunction · 0.85
initfuture_builtinsFunction · 0.85
wait_helperFunction · 0.85
get_decompress_funcFunction · 0.85
wrap_strftimeFunction · 0.85
time_timeFunction · 0.85
build_struct_timeFunction · 0.85
datetime_strptimeFunction · 0.85

Calls 6

PyImport_GetModuleDictFunction · 0.85
PyDict_GetItemStringFunction · 0.85
PyErr_ClearFunction · 0.85
PyImport_ImportModuleFunction · 0.85
PyErr_FormatFunction · 0.85

Tested by

no test coverage detected