commit | d8cba5d16f1333fd625726fc72e66afbd45b8d00 | [log] [tgz] |
---|---|---|
author | Zackery Spytz <zspytz@gmail.com> | Tue Jul 03 13:47:22 2018 -0600 |
committer | Antoine Pitrou <pitrou@free.fr> | Tue Jul 03 21:47:22 2018 +0200 |
tree | 6aa57f4d44036535b4cdf7895e92cd235a5b8f4f | |
parent | 831c29721dcb1b768c6315a4b8a4059c4c97ee8b [diff] |
bpo-24596: Decref module in PyRun_SimpleFileExFlags() on SystemExit (GH-7918) PyErr_Print() will not return when the exception is a SystemExit, so decref the __main__ module object in that case.