commit | 12083284c54be25abadd85781d36b63731dc1f0c | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Fri May 17 23:05:29 2019 +0200 |
committer | GitHub <noreply@github.com> | Fri May 17 23:05:29 2019 +0200 |
tree | 5fdc2c6a606cd0d166562db7a07f96f3ae601e74 | |
parent | bcfbbd704646622e919c1306a91fba61d603483d [diff] |
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().