mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Marc-Andre Lemburg:
Added Py_UnicodeFlag for use by the -U command line option.
This commit is contained in:
parent
fdc8bdb67b
commit
b16d197d66
2 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,7 @@ extern DL_IMPORT(int) Py_NoSiteFlag;
|
||||||
extern DL_IMPORT(int) Py_UseClassExceptionsFlag;
|
extern DL_IMPORT(int) Py_UseClassExceptionsFlag;
|
||||||
extern DL_IMPORT(int) Py_FrozenFlag;
|
extern DL_IMPORT(int) Py_FrozenFlag;
|
||||||
extern DL_IMPORT(int) Py_TabcheckFlag;
|
extern DL_IMPORT(int) Py_TabcheckFlag;
|
||||||
|
extern DL_IMPORT(int) Py_UnicodeFlag;
|
||||||
|
|
||||||
DL_IMPORT(void) Py_FatalError Py_PROTO((char *));
|
DL_IMPORT(void) Py_FatalError Py_PROTO((char *));
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,7 @@ int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */
|
||||||
int Py_NoSiteFlag; /* Suppress 'import site' */
|
int Py_NoSiteFlag; /* Suppress 'import site' */
|
||||||
int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c */
|
int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c */
|
||||||
int Py_FrozenFlag; /* Needed by getpath.c */
|
int Py_FrozenFlag; /* Needed by getpath.c */
|
||||||
|
int Py_UnicodeFlag = 0; /* Needed by compile.c */
|
||||||
|
|
||||||
static int initialized = 0;
|
static int initialized = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue