Searched refs:_PyStatus_ERR (Results 1 – 16 of 16) sorted by relevance
211 return _PyStatus_ERR("external importer setup failed"); in init_importlib_external()526 return _PyStatus_ERR("failed to read thread state"); in pyinit_core_reconfigure()532 return _PyStatus_ERR("can't make main interpreter"); in pyinit_core_reconfigure()561 return _PyStatus_ERR("main interpreter already initialized"); in pycore_init_runtime()631 return _PyStatus_ERR("can't make main interpreter"); in pycore_create_interpreter()642 return _PyStatus_ERR("can't make first thread"); in pycore_create_interpreter()662 return _PyStatus_ERR("can't init longs"); in pycore_init_singletons()696 return _PyStatus_ERR("can't initialize structseq"); in pycore_init_types()705 return _PyStatus_ERR("can't init int type"); in pycore_init_types()716 return _PyStatus_ERR("can't init float"); in pycore_init_types()[all …]
11 ? _PyStatus_ERR("cannot decode " NAME) \629 return _PyStatus_ERR("invalid -X utf8 option value"); in preconfig_init_utf8_mode()647 return _PyStatus_ERR("invalid PYTHONUTF8 environment " in preconfig_init_utf8_mode()733 return _PyStatus_ERR("PYTHONMALLOC: unknown allocator"); in preconfig_init_allocator()813 return _PyStatus_ERR("failed to LC_CTYPE locale"); in _PyPreConfig_Read()848 status = _PyStatus_ERR("Encoding changed twice while " in _PyPreConfig_Read()965 return _PyStatus_ERR("Unknown PYTHONMALLOC allocator"); in _PyPreConfig_Write()
164 return _PyStatus_ERR("Failed to reinitialize runtime locks"); in _PyRuntimeState_ReInitThreads()199 return _PyStatus_ERR("Can't initialize threads for interpreter"); in _PyInterpreterState_Enable()432 return _PyStatus_ERR("not main interpreter"); in _PyInterpreterState_DeleteExceptMain()458 return _PyStatus_ERR("missing main interpreter"); in _PyInterpreterState_DeleteExceptMain()1404 return _PyStatus_ERR("failed to set autoTSSkey"); in _PyGILState_Reinit()
604 return _PyStatus_ERR("failed to get random numbers " in _Py_HashRandomization_Init()
363 return _PyStatus_ERR("PyWideStringList_Insert index must be >= 0"); in PyWideStringList_Insert()580 ? _PyStatus_ERR("cannot decode " NAME) \823 return _PyStatus_ERR(decode_err_msg); in config_set_bytes_string()1614 return _PyStatus_ERR("PYTHONHASHSEED must be \"random\" " in config_init_hash_seed()1732 return _PyStatus_ERR("PYTHONTRACEMALLOC: invalid number of frames"); in config_init_tracemalloc()1748 return _PyStatus_ERR("-X tracemalloc=NFRAME: " in config_init_tracemalloc()
2874 return _PyStatus_ERR("failed to initialize a type"); in _PySys_InitCore()2877 return _PyStatus_ERR("can't initialize sys module"); in _PySys_InitCore()3030 return _PyStatus_ERR("can't set preliminary stderr"); in _PySys_SetPreliminaryStderr()3051 return _PyStatus_ERR("failed to create a module object"); in _PySys_Create()3085 return _PyStatus_ERR("can't initialize sys module"); in _PySys_Create()
106 return _PyStatus_ERR("initializing zipimport failed"); in _PyImportZip_Init()171 return _PyStatus_ERR("failed to create a new lock"); in _PyImport_ReInitLock()
1227 return _PyStatus_ERR("failed to initialize UnraisableHookArgs type"); in _PyErr_InitTypes()
501 return _PyStatus_ERR("Can't reinitialize pending calls lock"); in _PyEval_ReInitThreads()
27 #define _PyStatus_ERR(ERR_MSG) \ macro33 #define _PyStatus_NO_MEMORY() _PyStatus_ERR("memory allocation failed")
121 #define INIT_ERR_BUFFER_OVERFLOW() _PyStatus_ERR("buffer overflow")501 return _PyStatus_ERR("Cannot determine program path"); in get_program_full_path()596 status = _PyStatus_ERR("only 'import site' is supported " in read_pth_file()633 status = _PyStatus_ERR("invalid argument during ._pth processing"); in read_pth_file()636 status = _PyStatus_ERR("buffer overflow during ._pth processing"); in read_pth_file()
120 ? _PyStatus_ERR("cannot decode " NAME) \123 #define PATHLEN_ERR() _PyStatus_ERR("path configuration: path too long")1085 return _PyStatus_ERR("maximum number of symbolic links reached"); in resolve_symlinks()
1363 return _PyStatus_ERR("failed to enable faulthandler"); in _PyFaulthandler_Init()
2671 return _PyStatus_ERR("exceptions bootstrapping error."); \ in _PyExc_Init()2682 return _PyStatus_ERR("errmap insertion problem."); \ in _PyExc_Init()2802 return _PyStatus_ERR("Module dictionary insertion problem."); \ in _PyBuiltins_AddExceptions()2811 return _PyStatus_ERR("Module dictionary insertion problem."); \ in _PyBuiltins_AddExceptions()2819 return _PyStatus_ERR("exceptions bootstrapping error."); in _PyBuiltins_AddExceptions()
1786 return _PyStatus_ERR("Can't initialize " #TYPE " type"); \ in _PyTypes_Init()
15817 return _PyStatus_ERR("Can't initialize unicode type"); in _PyUnicode_InitTypes()15820 return _PyStatus_ERR("Can't initialize encoding map type"); in _PyUnicode_InitTypes()15823 return _PyStatus_ERR("Can't initialize field name iterator type"); in _PyUnicode_InitTypes()15826 return _PyStatus_ERR("Can't initialize formatter iter type"); in _PyUnicode_InitTypes()16213 return _PyStatus_ERR("failed to get the Python codec name " in init_stdio_encoding()16285 return _PyStatus_ERR("failed to get the Python codec " in init_fs_encoding()16290 return _PyStatus_ERR("cannot initialize filesystem codec"); in init_fs_encoding()