[Python-checkins] r70857 - python/trunk/Doc/c-api/veryhigh.rst
georg.brandl
python-checkins at python.org
Tue Mar 31 20:33:10 CEST 2009
Author: georg.brandl
Date: Tue Mar 31 20:33:10 2009
New Revision: 70857
Log:
#5227: note that Py_Main doesnt return on SystemExit.
Modified:
python/trunk/Doc/c-api/veryhigh.rst
Modified: python/trunk/Doc/c-api/veryhigh.rst
==============================================================================
--- python/trunk/Doc/c-api/veryhigh.rst (original)
+++ python/trunk/Doc/c-api/veryhigh.rst Tue Mar 31 20:33:10 2009
@@ -36,6 +36,10 @@
interpreter exits due to an exception, or ``2`` if the parameter list does not
represent a valid Python command line.
+ Note that if an otherwise unhandled :exc:`SystemError` is raised, this
+ function will not return ``1``, but exit the process, as long as
+ ``Py_InspectFlag`` is not set.
+
.. cfunction:: int PyRun_AnyFile(FILE *fp, const char *filename)
More information about the Python-checkins
mailing list