]> granicus.if.org Git - python/commitdiff
Marc-Andre Lemburg:
authorGuido van Rossum <guido@python.org>
Mon, 1 May 2000 17:55:15 +0000 (17:55 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 1 May 2000 17:55:15 +0000 (17:55 +0000)
Added Py_UnicodeFlag for use by the -U command line option.

Include/pydebug.h
Python/pythonrun.c

index a848a15816f1fdc544c54aaaa2254149278b63c4..4315f5077d0b3f43a86c7d9d134c5e87b7c5e03d 100644 (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 *));
 
index 17d569d78f636d49df16053c67c44e1f1315db2a..a4c986ef6a88d2d073f1fef344872e9c810a808d 100644 (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;