This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author graingert
Recipients graingert, gregory.p.smith, ncoghlan
Date 2020-08-20.22:08:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
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.
History
Date User Action Args
2020-08-20 22:08:44graingertsetrecipients: + graingert, gregory.p.smith, ncoghlan
2020-08-20 22:08:44graingertsetmessageid: <[email protected]>
2020-08-20 22:08:44graingertlinkissue41602 messages
2020-08-20 22:08:44graingertcreate