summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-24 21:06:38 (GMT)
committerGitHub <noreply@github.com>2017-11-24 21:06:38 (GMT)
commitda9c8c36aeb60ad8f7748a735c372bf993d2e4f3 (patch)
tree6029b786d7c3f46b964bf207a8d86187e31ff006 /Python
parent5742f674f7561dc9a1fc66d650e18e31b941183b (diff)
downloadcpython-da9c8c36aeb60ad8f7748a735c372bf993d2e4f3.zip
cpython-da9c8c36aeb60ad8f7748a735c372bf993d2e4f3.tar.gz
cpython-da9c8c36aeb60ad8f7748a735c372bf993d2e4f3.tar.bz2
bpo-32125: Remove Py_UseClassExceptionsFlag flag (#4544)
This flag was deprecated and wasn't used anymore since Python 2.0.
Diffstat (limited to 'Python')
-rw-r--r--Python/pylifecycle.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 8d2ec4e..b079990 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -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) */