]> granicus.if.org Git - python/commitdiff
#5245: note that PyRun_SimpleString doesnt return on SystemExit.
authorGeorg Brandl <georg@python.org>
Tue, 31 Mar 2009 18:30:37 +0000 (18:30 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 31 Mar 2009 18:30:37 +0000 (18:30 +0000)
Doc/c-api/veryhigh.rst

index 6811bc876a6ccace3e0f2ae104a6a9ff94a8ac89..f868f516e952781b039d77e37be15a827d66c6b3 100644 (file)
@@ -78,6 +78,10 @@ the same library that the Python runtime is using.
    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)