Mercurial > repos > rliterman > csp2
comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/python3.8/pydebug.h @ 69:33d812a61356
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 17:55:14 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
67:0e9998148a16 | 69:33d812a61356 |
---|---|
1 #ifndef Py_LIMITED_API | |
2 #ifndef Py_PYDEBUG_H | |
3 #define Py_PYDEBUG_H | |
4 #ifdef __cplusplus | |
5 extern "C" { | |
6 #endif | |
7 | |
8 /* These global variable are defined in pylifecycle.c */ | |
9 /* XXX (ncoghlan): move these declarations to pylifecycle.h? */ | |
10 PyAPI_DATA(int) Py_DebugFlag; | |
11 PyAPI_DATA(int) Py_VerboseFlag; | |
12 PyAPI_DATA(int) Py_QuietFlag; | |
13 PyAPI_DATA(int) Py_InteractiveFlag; | |
14 PyAPI_DATA(int) Py_InspectFlag; | |
15 PyAPI_DATA(int) Py_OptimizeFlag; | |
16 PyAPI_DATA(int) Py_NoSiteFlag; | |
17 PyAPI_DATA(int) Py_BytesWarningFlag; | |
18 PyAPI_DATA(int) Py_FrozenFlag; | |
19 PyAPI_DATA(int) Py_IgnoreEnvironmentFlag; | |
20 PyAPI_DATA(int) Py_DontWriteBytecodeFlag; | |
21 PyAPI_DATA(int) Py_NoUserSiteDirectory; | |
22 PyAPI_DATA(int) Py_UnbufferedStdioFlag; | |
23 PyAPI_DATA(int) Py_HashRandomizationFlag; | |
24 PyAPI_DATA(int) Py_IsolatedFlag; | |
25 | |
26 #ifdef MS_WINDOWS | |
27 PyAPI_DATA(int) Py_LegacyWindowsFSEncodingFlag; | |
28 PyAPI_DATA(int) Py_LegacyWindowsStdioFlag; | |
29 #endif | |
30 | |
31 /* this is a wrapper around getenv() that pays attention to | |
32 Py_IgnoreEnvironmentFlag. It should be used for getting variables like | |
33 PYTHONPATH and PYTHONHOME from the environment */ | |
34 #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s)) | |
35 | |
36 #ifdef __cplusplus | |
37 } | |
38 #endif | |
39 #endif /* !Py_PYDEBUG_H */ | |
40 #endif /* Py_LIMITED_API */ |