#5245: note that PyRun_SimpleString doesnt return on SystemExit.

This commit is contained in:
Georg Brandl 2009-03-31 18:30:37 +00:00
parent 1f0a55523f
commit 9e0b363629
1 changed files with 4 additions and 0 deletions

View 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)