[Python-checkins] r70855 - python/trunk/Doc/c-api/veryhigh.rst
georg.brandl
python-checkins at python.org
Tue Mar 31 20:30:37 CEST 2009
Author: georg.brandl
Date: Tue Mar 31 20:30:37 2009
New Revision: 70855
Log:
#5245: note that PyRun_SimpleString 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:30:37 2009
@@ -78,6 +78,10 @@
there was an error, there is no way to get the exception information. For the
meaning of *flags*, see below.
+ 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_SimpleFile(FILE *fp, const char *filename)
More information about the Python-checkins
mailing list