SIGN IN SIGN UP

bpo-36763: _Py_RunMain() doesn't call Py_Exit() anymore (GH-13390)

Py_Main() and _Py_RunMain() now return the exitcode rather than
calling Py_Exit(exitcode) when calling PyErr_Print() if the current
exception type is SystemExit.

* Add _Py_HandleSystemExit().
* Add pymain_exit_err_print().
* Add pymain_exit_print().
V
Victor Stinner committed
12083284c54be25abadd85781d36b63731dc1f0c
Parent: bcfbbd7
Committed by GitHub <noreply@github.com> on 5/17/2019, 9:05:29 PM