commit | 20ae4c60258479a0732d12af292f422679444e2c | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Tue Jul 03 13:13:28 2018 -0700 |
committer | Antoine Pitrou <pitrou@free.fr> | Tue Jul 03 22:13:28 2018 +0200 |
tree | f9c070334afe70acf494a4258f4dec21cfe212a4 | |
parent | 6699386231d326c50439b9e1df752e1aed7ca6b4 [diff] |
bpo-24596: Decref module in PyRun_SimpleFileExFlags() on SystemExit (GH-7918) (GH-8070) PyErr_Print() will not return when the exception is a SystemExit, so decref the __main__ module object in that case. (cherry picked from commit d8cba5d16f1333fd625726fc72e66afbd45b8d00) Co-authored-by: Zackery Spytz <zspytz@gmail.com>