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 <mhamm...@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. -- http://mail.python.org/mailman/listinfo/python-list