Marc-Andre Lemburg:

Added Py_UnicodeFlag for use by the -U command line option.
This commit is contained in:
Guido van Rossum 2000-05-01 17:55:15 +00:00
parent fdc8bdb67b
commit b16d197d66
2 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@ extern DL_IMPORT(int) Py_NoSiteFlag;
extern DL_IMPORT(int) Py_UseClassExceptionsFlag;
extern DL_IMPORT(int) Py_FrozenFlag;
extern DL_IMPORT(int) Py_TabcheckFlag;
extern DL_IMPORT(int) Py_UnicodeFlag;
DL_IMPORT(void) Py_FatalError Py_PROTO((char *));

View File

@ -88,6 +88,7 @@ int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */
int Py_NoSiteFlag; /* Suppress 'import site' */
int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c */
int Py_FrozenFlag; /* Needed by getpath.c */
int Py_UnicodeFlag = 0; /* Needed by compile.c */
static int initialized = 0;