bpo-32125: Remove Py_UseClassExceptionsFlag flag (#4544)
This flag was deprecated and wasn't used anymore since Python 2.0.
This commit is contained in:
parent
5742f674f7
commit
da9c8c36ae
|
@ -15,7 +15,6 @@ PyAPI_DATA(int) Py_InspectFlag;
|
|||
PyAPI_DATA(int) Py_OptimizeFlag;
|
||||
PyAPI_DATA(int) Py_NoSiteFlag;
|
||||
PyAPI_DATA(int) Py_BytesWarningFlag;
|
||||
PyAPI_DATA(int) Py_UseClassExceptionsFlag;
|
||||
PyAPI_DATA(int) Py_FrozenFlag;
|
||||
PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
|
||||
PyAPI_DATA(int) Py_DontWriteBytecodeFlag;
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
The ``Py_UseClassExceptionsFlag`` flag has been removed. It was deprecated
|
||||
and wasn't used anymore since Python 2.0.
|
|
@ -116,7 +116,6 @@ int Py_InspectFlag; /* Needed to determine whether to exit at SystemExit */
|
|||
int Py_OptimizeFlag = 0; /* Needed by compile.c */
|
||||
int Py_NoSiteFlag; /* Suppress 'import site' */
|
||||
int Py_BytesWarningFlag; /* Warn on str(bytes) and str(buffer) */
|
||||
int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c: deprecated */
|
||||
int Py_FrozenFlag; /* Needed by getpath.c */
|
||||
int Py_IgnoreEnvironmentFlag; /* e.g. PYTHONPATH, PYTHONHOME */
|
||||
int Py_DontWriteBytecodeFlag; /* Suppress writing bytecode files (*.pyc) */
|
||||
|
|
|
@ -393,7 +393,6 @@ Py_NoUserSiteDirectory
|
|||
Py_OptimizeFlag
|
||||
Py_QuietFlag
|
||||
Py_UnbufferedStdioFlag
|
||||
Py_UseClassExceptionsFlag
|
||||
Py_VerboseFlag
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue