/
opt
/
imh
/
python3.13
/
include
/
python3.13
/
cpython
/
/opt/imh/python3.13/include/python3.13/cpython
mkdir
upload
Name
Size
Mode
Actions
abstract.h
3399
0644
edit
dl
rm
bytearrayobject.h
1163
0644
edit
dl
rm
bytesobject.h
1180
0644
edit
dl
rm
cellobject.h
1076
0644
edit
dl
rm
ceval.h
1115
0644
edit
dl
rm
classobject.h
2245
0644
edit
dl
rm
code.h
15207
0644
edit
dl
rm
compile.h
2121
0644
edit
dl
rm
complexobject.h
909
0644
edit
dl
rm
context.h
1837
0644
edit
dl
rm
critical_section.h
5588
0644
edit
dl
rm
descrobject.h
1593
0644
edit
dl
rm
dictobject.h
3870
0644
edit
dl
rm
fileobject.h
652
0644
edit
dl
rm
fileutils.h
232
0644
edit
dl
rm
floatobject.h
900
0644
edit
dl
rm
frameobject.h
1199
0644
edit
dl
rm
funcobject.h
7049
0644
edit
dl
rm
genobject.h
2997
0644
edit
dl
rm
import.h
725
0644
edit
dl
rm
initconfig.h
8197
0644
edit
dl
rm
listobject.h
1801
0644
edit
dl
rm
lock.h
1763
0644
edit
dl
rm
longintrepr.h
5119
0644
edit
dl
rm
longobject.h
5583
0644
edit
dl
rm
memoryobject.h
2223
0644
edit
dl
rm
methodobject.h
2276
0644
edit
dl
rm
modsupport.h
1042
0644
edit
dl
rm
monitoring.h
7704
0644
edit
dl
rm
object.h
19074
0644
edit
dl
rm
objimpl.h
3820
0644
edit
dl
rm
odictobject.h
1311
0644
edit
dl
rm
picklebufobject.h
848
0644
edit
dl
rm
pthread_stubs.h
3926
0644
edit
dl
rm
pyatomic.h
16506
0644
edit
dl
rm
pyatomic_gcc.h
19131
0644
edit
dl
rm
pyatomic_msc.h
29241
0644
edit
dl
rm
pyatomic_std.h
24336
0644
edit
dl
rm
pyctype.h
1387
0644
edit
dl
rm
pydebug.h
1413
0644
edit
dl
rm
pyerrors.h
2908
0644
edit
dl
rm
pyfpe.h
444
0644
edit
dl
rm
pyframe.h
1947
0644
edit
dl
rm
pyhash.h
1382
0644
edit
dl
rm
pylifecycle.h
2817
0644
edit
dl
rm
pymem.h
2843
0644
edit
dl
rm
pystate.h
9465
0644
edit
dl
rm
pystats.h
5434
0644
edit
dl
rm
pythonrun.h
4327
0644
edit
dl
rm
pythread.h
1510
0644
edit
dl
rm
pytime.h
707
0644
edit
dl
rm
setobject.h
2046
0644
edit
dl
rm
sysmodule.h
775
0644
edit
dl
rm
traceback.h
282
0644
edit
dl
rm
tracemalloc.h
823
0644
edit
dl
rm
tupleobject.h
1329
0644
edit
dl
rm
unicodeobject.h
25074
0644
edit
dl
rm
warnings.h
695
0644
edit
dl
rm
weakrefobject.h
2249
0644
edit
dl
rm
Edit:
/opt/imh/python3.13/include/python3.13/cpython/initconfig.h
(8197B)
#ifndef Py_PYCORECONFIG_H #define Py_PYCORECONFIG_H #ifndef Py_LIMITED_API #ifdef __cplusplus extern "C" { #endif /* --- PyStatus ----------------------------------------------- */ typedef struct { enum { _PyStatus_TYPE_OK=0, _PyStatus_TYPE_ERROR=1, _PyStatus_TYPE_EXIT=2 } _type; const char *func; const char *err_msg; int exitcode; } PyStatus; PyAPI_FUNC(PyStatus) PyStatus_Ok(void); PyAPI_FUNC(PyStatus) PyStatus_Error(const char *err_msg); PyAPI_FUNC(PyStatus) PyStatus_NoMemory(void); PyAPI_FUNC(PyStatus) PyStatus_Exit(int exitcode); PyAPI_FUNC(int) PyStatus_IsError(PyStatus err); PyAPI_FUNC(int) PyStatus_IsExit(PyStatus err); PyAPI_FUNC(int) PyStatus_Exception(PyStatus err); /* --- PyWideStringList ------------------------------------------------ */ typedef struct { /* If length is greater than zero, items must be non-NULL and all items strings must be non-NULL */ Py_ssize_t length; wchar_t **items; } PyWideStringList; PyAPI_FUNC(PyStatus) PyWideStringList_Append(PyWideStringList *list, const wchar_t *item); PyAPI_FUNC(PyStatus) PyWideStringList_Insert(PyWideStringList *list, Py_ssize_t index, const wchar_t *item); /* --- PyPreConfig ----------------------------------------------- */ typedef struct PyPreConfig { int _config_init; /* _PyConfigInitEnum value */ /* Parse Py_PreInitializeFromBytesArgs() arguments? See PyConfig.parse_argv */ int parse_argv; /* If greater than 0, enable isolated mode: sys.path contains neither the script's directory nor the user's site-packages directory. Set to 1 by the -I command line option. If set to -1 (default), inherit Py_IsolatedFlag value. */ int isolated; /* If greater than 0: use environment variables. Set to 0 by -E command line option. If set to -1 (default), it is set to !Py_IgnoreEnvironmentFlag. */ int use_environment; /* Set the LC_CTYPE locale to the user preferred locale? If equals to 0, set coerce_c_locale and coerce_c_locale_warn to 0. */ int configure_locale; /* Coerce the LC_CTYPE locale if it's equal to "C"? (PEP 538) Set to 0 by PYTHONCOERCECLOCALE=0. Set to 1 by PYTHONCOERCECLOCALE=1. Set to 2 if the user preferred LC_CTYPE locale is "C". If it is equal to 1, LC_CTYPE locale is read to decide if it should be coerced or not (ex: PYTHONCOERCECLOCALE=1). Internally, it is set to 2 if the LC_CTYPE locale must be coerced. Disable by default (set to 0). Set it to -1 to let Python decide if it should be enabled or not. */ int coerce_c_locale; /* Emit a warning if the LC_CTYPE locale is coerced? Set to 1 by PYTHONCOERCECLOCALE=warn. Disable by default (set to 0). Set it to -1 to let Python decide if it should be enabled or not. */ int coerce_c_locale_warn; #ifdef MS_WINDOWS /* If greater than 1, use the "mbcs" encoding instead of the UTF-8 encoding for the filesystem encoding. Set to 1 if the PYTHONLEGACYWINDOWSFSENCODING environment variable is set to a non-empty string. If set to -1 (default), inherit Py_LegacyWindowsFSEncodingFlag value. See PEP 529 for more details. */ int legacy_windows_fs_encoding; #endif /* Enable UTF-8 mode? (PEP 540) Disabled by default (equals to 0). Set to 1 by "-X utf8" and "-X utf8=1" command line options. Set to 1 by PYTHONUTF8=1 environment variable. Set to 0 by "-X utf8=0" and PYTHONUTF8=0. If equals to -1, it is set to 1 if the LC_CTYPE locale is "C" or "POSIX", otherwise it is set to 0. Inherit Py_UTF8Mode value value. */ int utf8_mode; /* If non-zero, enable the Python Development Mode. Set to 1 by the -X dev command line option. Set by the PYTHONDEVMODE environment variable. */ int dev_mode; /* Memory allocator: PYTHONMALLOC env var. See PyMemAllocatorName for valid values. */ int allocator; } PyPreConfig; PyAPI_FUNC(void) PyPreConfig_InitPythonConfig(PyPreConfig *config); PyAPI_FUNC(void) PyPreConfig_InitIsolatedConfig(PyPreConfig *config); /* --- PyConfig ---------------------------------------------- */ /* This structure is best documented in the Doc/c-api/init_config.rst file. */ typedef struct PyConfig { int _config_init; /* _PyConfigInitEnum value */ int isolated; int use_environment; int dev_mode; int install_signal_handlers; int use_hash_seed; unsigned long hash_seed; int faulthandler; int tracemalloc; int perf_profiling; int import_time; int code_debug_ranges; int show_ref_count; int dump_refs; wchar_t *dump_refs_file; int malloc_stats; wchar_t *filesystem_encoding; wchar_t *filesystem_errors; wchar_t *pycache_prefix; int parse_argv; PyWideStringList orig_argv; PyWideStringList argv; PyWideStringList xoptions; PyWideStringList warnoptions; int site_import; int bytes_warning; int warn_default_encoding; int inspect; int interactive; int optimization_level; int parser_debug; int write_bytecode; int verbose; int quiet; int user_site_directory; int configure_c_stdio; int buffered_stdio; wchar_t *stdio_encoding; wchar_t *stdio_errors; #ifdef MS_WINDOWS int legacy_windows_stdio; #endif wchar_t *check_hash_pycs_mode; int use_frozen_modules; int safe_path; int int_max_str_digits; int cpu_count; #ifdef Py_GIL_DISABLED int enable_gil; #endif /* --- Path configuration inputs ------------ */ int pathconfig_warnings; wchar_t *program_name; wchar_t *pythonpath_env; wchar_t *home; wchar_t *platlibdir; /* --- Path configuration outputs ----------- */ int module_search_paths_set; PyWideStringList module_search_paths; wchar_t *stdlib_dir; wchar_t *executable; wchar_t *base_executable; wchar_t *prefix; wchar_t *base_prefix; wchar_t *exec_prefix; wchar_t *base_exec_prefix; /* --- Parameter only used by Py_Main() ---------- */ int skip_source_first_line; wchar_t *run_command; wchar_t *run_module; wchar_t *run_filename; /* --- Set by Py_Main() -------------------------- */ wchar_t *sys_path_0; /* --- Private fields ---------------------------- */ // Install importlib? If equals to 0, importlib is not initialized at all. // Needed by freeze_importlib. int _install_importlib; // If equal to 0, stop Python initialization before the "main" phase. int _init_main; // If non-zero, we believe we're running from a source tree. int _is_python_build; #ifdef Py_STATS // If non-zero, turns on statistics gathering. int _pystats; #endif #ifdef Py_DEBUG // If not empty, import a non-__main__ module before site.py is executed. // PYTHON_PRESITE=package.module or -X presite=package.module wchar_t *run_presite; #endif } PyConfig; PyAPI_FUNC(void) PyConfig_InitPythonConfig(PyConfig *config); PyAPI_FUNC(void) PyConfig_InitIsolatedConfig(PyConfig *config); PyAPI_FUNC(void) PyConfig_Clear(PyConfig *); PyAPI_FUNC(PyStatus) PyConfig_SetString( PyConfig *config, wchar_t **config_str, const wchar_t *str); PyAPI_FUNC(PyStatus) PyConfig_SetBytesString( PyConfig *config, wchar_t **config_str, const char *str); PyAPI_FUNC(PyStatus) PyConfig_Read(PyConfig *config); PyAPI_FUNC(PyStatus) PyConfig_SetBytesArgv( PyConfig *config, Py_ssize_t argc, char * const *argv); PyAPI_FUNC(PyStatus) PyConfig_SetArgv(PyConfig *config, Py_ssize_t argc, wchar_t * const *argv); PyAPI_FUNC(PyStatus) PyConfig_SetWideStringList(PyConfig *config, PyWideStringList *list, Py_ssize_t length, wchar_t **items); /* --- Helper functions --------------------------------------- */ /* Get the original command line arguments, before Python modified them. See also PyConfig.orig_argv. */ PyAPI_FUNC(void) Py_GetArgcArgv(int *argc, wchar_t ***argv); #ifdef __cplusplus } #endif #endif /* !Py_LIMITED_API */ #endif /* !Py_PYCORECONFIG_H */
Save
cmd:
run