]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41336: Fix the error handling in zoneinfo_new_instance() (GH-21546)
authorZackery Spytz <zspytz@gmail.com>
Mon, 20 Jul 2020 12:51:26 +0000 (06:51 -0600)
committerGitHub <noreply@github.com>
Mon, 20 Jul 2020 12:51:26 +0000 (15:51 +0300)
commiteca2549f5a5048b44ca88b9555f1c62f094e3c12
tree9e0b70d99f39ac5f7cbb09f59e54e04291f6b0af
parentf9bf0157999cb4adbcfd7e9bf526bfa48601e128
bpo-41336: Fix the error handling in zoneinfo_new_instance() (GH-21546)

Do not call PyObject_CallMethod() with a live exception (like
KeyboardInterrupt).
Modules/_zoneinfo.c