summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-03-31 18:30:37 (GMT)
committerGeorg Brandl <georg@python.org>2009-03-31 18:30:37 (GMT)
commit9e0b363629d62259965a4bc2806370b152d8baac (patch)
tree57a853293acf420a72a3df905177313693dc2e15
parent1f0a55523fb3608ead5cee6af1688661cdfce144 (diff)
downloadcpython-9e0b363629d62259965a4bc2806370b152d8baac.zip
cpython-9e0b363629d62259965a4bc2806370b152d8baac.tar.gz
cpython-9e0b363629d62259965a4bc2806370b152d8baac.tar.bz2
#5245: note that PyRun_SimpleString doesnt return on SystemExit.
-rw-r--r--Doc/c-api/veryhigh.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/c-api/veryhigh.rst b/Doc/c-api/veryhigh.rst
index 6811bc8..f868f51 100644
--- a/Doc/c-api/veryhigh.rst
+++ b/Doc/c-api/veryhigh.rst
@@ -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)