Lines Matching refs:_Py_INIT_ERR
297 return _Py_INIT_ERR("can't import _frozen_importlib"); in initimport()
304 return _Py_INIT_ERR("couldn't get _frozen_importlib from sys.modules"); in initimport()
311 return _Py_INIT_ERR("__import__ not found"); in initimport()
317 return _Py_INIT_ERR("can't import _imp"); in initimport()
323 return _Py_INIT_ERR("can't save _imp to sys.modules"); in initimport()
330 return _Py_INIT_ERR("importlib install failed"); in initimport()
351 return _Py_INIT_ERR("external importer setup failed"); in initexternalimport()
609 return _Py_INIT_ERR("failed to copy core config"); in _Py_Initialize_ReconfigureCore()
645 return _Py_INIT_ERR("no thread state found"); in _Py_InitializeCore_impl()
650 return _Py_INIT_ERR("no main interpreter found"); in _Py_InitializeCore_impl()
672 return _Py_INIT_ERR("main interpreter already initialized"); in _Py_InitializeCore_impl()
675 return _Py_INIT_ERR("runtime core already initialized"); in _Py_InitializeCore_impl()
710 return _Py_INIT_ERR("can't make main interpreter"); in _Py_InitializeCore_impl()
715 return _Py_INIT_ERR("failed to copy core config"); in _Py_InitializeCore_impl()
720 return _Py_INIT_ERR("can't make first thread"); in _Py_InitializeCore_impl()
739 return _Py_INIT_ERR("can't init frames"); in _Py_InitializeCore_impl()
742 return _Py_INIT_ERR("can't init longs"); in _Py_InitializeCore_impl()
745 return _Py_INIT_ERR("can't init bytearray"); in _Py_InitializeCore_impl()
748 return _Py_INIT_ERR("can't init float"); in _Py_InitializeCore_impl()
752 return _Py_INIT_ERR("can't make modules dictionary"); in _Py_InitializeCore_impl()
763 return _Py_INIT_ERR("can't initialize sys dict"); in _Py_InitializeCore_impl()
772 return _Py_INIT_ERR("can't initialize unicode"); in _Py_InitializeCore_impl()
775 return _Py_INIT_ERR("can't initialize structseq"); in _Py_InitializeCore_impl()
779 return _Py_INIT_ERR("can't initialize builtins modules"); in _Py_InitializeCore_impl()
783 return _Py_INIT_ERR("can't initialize builtins dict"); in _Py_InitializeCore_impl()
793 return _Py_INIT_ERR("can't set preliminary stderr"); in _Py_InitializeCore_impl()
810 return _Py_INIT_ERR("can't initialize warnings"); in _Py_InitializeCore_impl()
814 return _Py_INIT_ERR("can't init context"); in _Py_InitializeCore_impl()
854 err = _Py_INIT_ERR("failed to copy core config"); in _Py_InitializeCore()
882 return _Py_INIT_ERR("fail to set sys.argv"); in _Py_ReconfigureMainInterpreter()
906 return _Py_INIT_ERR("runtime core not initialized"); in _Py_InitializeMainInterpreter()
911 return _Py_INIT_ERR("failed to copy main interpreter config"); in _Py_InitializeMainInterpreter()
929 return _Py_INIT_ERR("can't initialize time"); in _Py_InitializeMainInterpreter()
933 return _Py_INIT_ERR("can't finish initializing sys"); in _Py_InitializeMainInterpreter()
960 return _Py_INIT_ERR("can't initialize tracemalloc"); in _Py_InitializeMainInterpreter()
1362 return _Py_INIT_ERR("Py_Initialize must be called first"); in new_interpreter()
1398 return _Py_INIT_ERR("failed to copy core config"); in new_interpreter()
1401 return _Py_INIT_ERR("failed to copy main interpreter config"); in new_interpreter()
1407 return _Py_INIT_ERR("can't make modules dictionary"); in new_interpreter()
1445 return _Py_INIT_ERR("can't set preliminary stderr"); in new_interpreter()
1564 return _Py_INIT_ERR("can't create __main__ module"); in add_main_module()
1570 return _Py_INIT_ERR("Failed to initialize __main__.__annotations__"); in add_main_module()
1577 return _Py_INIT_ERR("Failed to retrieve builtins module"); in add_main_module()
1580 return _Py_INIT_ERR("Failed to initialize __main__.__builtins__"); in add_main_module()
1596 return _Py_INIT_ERR("Failed to retrieve BuiltinImporter"); in add_main_module()
1599 return _Py_INIT_ERR("Failed to initialize __main__.__loader__"); in add_main_module()
1634 return _Py_INIT_ERR("Unable to get the locale encoding"); in initfsencoding()
1649 return _Py_INIT_ERR("unable to load the file system codec"); in initfsencoding()
1976 res = _Py_INIT_ERR("can't initialize sys standard streams"); in init_sys_streams()
2299 return _Py_INIT_ERR("can't import signal"); in initsigs()