8 PyAPI_DATA(int) Py_DebugFlag
;
9 PyAPI_DATA(int) Py_VerboseFlag
;
10 PyAPI_DATA(int) Py_InteractiveFlag
;
11 PyAPI_DATA(int) Py_InspectFlag
;
12 PyAPI_DATA(int) Py_OptimizeFlag
;
13 PyAPI_DATA(int) Py_NoSiteFlag
;
14 PyAPI_DATA(int) Py_UseClassExceptionsFlag
;
15 PyAPI_DATA(int) Py_FrozenFlag
;
16 PyAPI_DATA(int) Py_TabcheckFlag
;
17 PyAPI_DATA(int) Py_UnicodeFlag
;
18 PyAPI_DATA(int) Py_IgnoreEnvironmentFlag
;
19 PyAPI_DATA(int) Py_DivisionWarningFlag
;
20 PyAPI_DATA(int) Py_DontWriteBytecodeFlag
;
21 /* _XXX Py_QnewFlag should go away in 3.0. It's true iff -Qnew is passed,
22 on the command line, and is used in 2.2 by ceval.c to make all "/" divisions
23 true divisions (which they will be in 3.0). */
24 PyAPI_DATA(int) _Py_QnewFlag
;
25 /* Warn about 3.x issues */
26 PyAPI_DATA(int) Py_Py3kWarningFlag
;
28 /* this is a wrapper around getenv() that pays attention to
29 Py_IgnoreEnvironmentFlag. It should be used for getting variables like
30 PYTHONPATH and PYTHONHOME from the environment */
31 #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s))
33 PyAPI_FUNC(void) Py_FatalError(const char *message
);
38 #endif /* !Py_PYDEBUG_H */