[issue6498] Py_Main() does not return on SystemExit

Eric Frederich report at bugs.python.org
Mon Mar 28 15:28:45 CEST 2011


Eric Frederich <eric.frederich at gmail.com> added the comment:

So there is a disconnect.

You can either change the documentation to match the behavior or you can change the code to match the documentation.

I would prefer to leave the documentation alone and make Py_Main return rather than exit on sys.exit.  That's just my 2 cents.

----------
nosy: +eric.frederich

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6498>
_______________________________________


More information about the Python-bugs-list mailing list