summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-10-03 19:46:02 (GMT)
committerGuido van Rossum <guido@python.org>1997-10-03 19:46:02 (GMT)
commit999e5e921e0da9251d235de6fc7916d349e2bfe4 (patch)
treebd81b0ca99586d1b94df2cc7106d720216531419 /Python
parenta7f2e813c94468506a6e10e8b5b97392a48da34d (diff)
downloadcpython-999e5e921e0da9251d235de6fc7916d349e2bfe4.zip
cpython-999e5e921e0da9251d235de6fc7916d349e2bfe4.tar.gz
cpython-999e5e921e0da9251d235de6fc7916d349e2bfe4.tar.bz2
Initialize Py_UseClassExceptionsFlag to 1.
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index dfdc711..7398dc2 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -77,7 +77,7 @@ int Py_DebugFlag; /* Needed by parser.c */
int Py_VerboseFlag; /* Needed by import.c */
int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */
int Py_NoSiteFlag; /* Suppress 'import site' */
-int Py_UseClassExceptionsFlag; /* Needed by bltinmodule.c */
+int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c */
static int initialized = 0;