embedding interactive python interpreter

Eric Frederich eric.frederich at gmail.com
Sun Mar 27 09:33:00 EDT 2011


This is behavior contradicts the documentation which says the value
passed to sys.exit will be returned from Py_Main.
Py_Main doesn't return anything, it just exits.
This is a bug.

On Sun, Mar 27, 2011 at 3:10 AM, Mark Hammond <mhammond at skippinet.com.au> wrote:
> On 26/03/2011 4:37 AM, Eric Frederich wrote:
> exit() will winf up causing the C exit() function after
> finalizing, hence the behaviour you see.



More information about the Python-list mailing list