summaryrefslogtreecommitdiffstats
path: root/Include/pydebug.h
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-07 00:34:46 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-07 00:34:46 (GMT)
commit49aafc9f2ce7d41be677cdefbcf0af6d9bd1e752 (patch)
treea5bcc5b8ae7b3a3c639510619726f680cf241c37 /Include/pydebug.h
parent8537c303c796f42b0375922d2d8a17f3ebcb465a (diff)
downloadcpython-49aafc9f2ce7d41be677cdefbcf0af6d9bd1e752.zip
cpython-49aafc9f2ce7d41be677cdefbcf0af6d9bd1e752.tar.gz
cpython-49aafc9f2ce7d41be677cdefbcf0af6d9bd1e752.tar.bz2
Variant of patch #697613: don't exit the interpreter on a SystemExit
exception if the -i command line option or PYTHONINSPECT environment variable is given, but break into the interactive interpreter just like on other exceptions or normal program exit. (backport)
Diffstat (limited to 'Include/pydebug.h')
-rw-r--r--Include/pydebug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pydebug.h b/Include/pydebug.h
index f49a98e..db3b656 100644
--- a/Include/pydebug.h
+++ b/Include/pydebug.h
@@ -8,6 +8,7 @@ extern "C" {
PyAPI_DATA(int) Py_DebugFlag;
PyAPI_DATA(int) Py_VerboseFlag;
PyAPI_DATA(int) Py_InteractiveFlag;
+PyAPI_DATA(int) Py_InspectFlag;
PyAPI_DATA(int) Py_OptimizeFlag;
PyAPI_DATA(int) Py_NoSiteFlag;
PyAPI_DATA(int) Py_UseClassExceptionsFlag;