diff --git a/Include/pydebug.h b/Include/pydebug.h index a848a15816f..4315f5077d0 100644 --- a/Include/pydebug.h +++ b/Include/pydebug.h @@ -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 *)); diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 17d569d78f6..a4c986ef6a8 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -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;