From b16d197d661915bf16c84e06cb07e1f7a934ad10 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 1 May 2000 17:55:15 +0000 Subject: Marc-Andre Lemburg: Added Py_UnicodeFlag for use by the -U command line option. --- Include/pydebug.h | 1 + Python/pythonrun.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Include/pydebug.h b/Include/pydebug.h index a848a15..4315f50 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 17d569d..a4c986e 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; -- cgit v0.12