summaryrefslogtreecommitdiff
path: root/Python/pymath.c
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2018-07-03 13:47:22 -0600
committerAntoine Pitrou <pitrou@free.fr>2018-07-03 21:47:22 +0200
commitd8cba5d16f1333fd625726fc72e66afbd45b8d00 (patch)
tree6aa57f4d44036535b4cdf7895e92cd235a5b8f4f /Python/pymath.c
parent831c29721dcb1b768c6315a4b8a4059c4c97ee8b (diff)
downloadcpython-git-d8cba5d16f1333fd625726fc72e66afbd45b8d00.tar.gz
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.
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions