New submission from Rogi <r...@linuxmail.org>: From teh docs: http://docs.python.org/c-api/veryhigh.html
int PyRun_SimpleStringFlags(const char *command, PyCompilerFlags *flags)ΒΆ Executes the Python source code from command in the __main__ module according to the flags argument. If __main__ does not already exist, it is created. Returns 0 on success or -1 if an exception was raised. If there was an error, there is no way to get the exception information. For the meaning of flags, see below. In case of a SystemExit it will not return. This detail, along another issue with Py_Main() and SystemExit, made me google around for a while. ---------- assignee: georg.brandl components: Documentation messages: 81912 nosy: Rogi, georg.brandl severity: normal status: open title: PyRun_SimpleStringFlags() documentation versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5245> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com