This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Rogi
Recipients Rogi, georg.brandl
Date 2009-02-13.12:02:58
SpamBayes Score 3.2009564e-09
Marked as misclassified No
Message-id <1234526583.65.0.906444250771.issue5245@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-02-13 12:03:04Rogisetrecipients: + Rogi, georg.brandl
2009-02-13 12:03:03Rogisetmessageid: <1234526583.65.0.906444250771.issue5245@psf.upfronthosting.co.za>
2009-02-13 12:03:01Rogilinkissue5245 messages
2009-02-13 12:03:00Rogicreate