Message375735
I think I've eliminated runpy.py, as I still get a `-2` when using:
import runpy
runpy.run_module("ham")
or
runpy._run_module_as_main("ham")
see attached test_exit_runpy.py
It seems the only difference is if pymain_run_file or pymain_run_module is used. |
|
| Date |
User |
Action |
Args |
| 2020-08-20 22:08:44 | graingert | set | recipients:
+ graingert, gregory.p.smith, ncoghlan |
| 2020-08-20 22:08:44 | graingert | set | messageid: <[email protected]> |
| 2020-08-20 22:08:44 | graingert | link | issue41602 messages |
| 2020-08-20 22:08:44 | graingert | create | |
|