Searched refs:_Py_PackageContext (Results 1 – 7 of 7) sorted by relevance
158 oldcontext = _Py_PackageContext; in _PyImport_LoadDynamicModuleWithSpec()159 _Py_PackageContext = PyUnicode_AsUTF8(name_unicode); in _PyImport_LoadDynamicModuleWithSpec()160 if (_Py_PackageContext == NULL) { in _PyImport_LoadDynamicModuleWithSpec()161 _Py_PackageContext = oldcontext; in _PyImport_LoadDynamicModuleWithSpec()165 _Py_PackageContext = oldcontext; in _PyImport_LoadDynamicModuleWithSpec()
14 const char *_Py_PackageContext = NULL; variable
203 if (_Py_PackageContext != NULL) { in _PyModule_CreateInitialized()204 const char *p = strrchr(_Py_PackageContext, '.'); in _PyModule_CreateInitialized()206 name = _Py_PackageContext; in _PyModule_CreateInitialized()207 _Py_PackageContext = NULL; in _PyModule_CreateInitialized()
249 PyAPI_DATA(const char *) _Py_PackageContext;
225 _Py_PackageContext # Slight race during import! Move to PyThreadState?
1523 Python/modsupport.c - _Py_PackageContext variable const char *_Py_PackageContext
15305 - bpo-28748: Private variable _Py_PackageContext is now of type ``const char