summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-10-03 19:46:02 +0000
committerGuido van Rossum <guido@python.org>1997-10-03 19:46:02 +0000
commit999e5e921e0da9251d235de6fc7916d349e2bfe4 (patch)
treebd81b0ca99586d1b94df2cc7106d720216531419 /Python/pythonrun.c
parenta7f2e813c94468506a6e10e8b5b97392a48da34d (diff)
downloadcpython-git-999e5e921e0da9251d235de6fc7916d349e2bfe4.tar.gz
Initialize Py_UseClassExceptionsFlag to 1.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index dfdc711a70..7398dc2032 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;