]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41336: Fix the error handling in zoneinfo_new_instance() (GH-21546)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 Jul 2020 13:10:11 +0000 (06:10 -0700)
committerGitHub <noreply@github.com>
Mon, 20 Jul 2020 13:10:11 +0000 (06:10 -0700)
commitadd7cfc4c63f2ce2e8649906e6c8d902e95d8701
treeca8ff25ac5fd684883fb6189628fbc8150bd5191
parent663f827341caa272be7c3dce6156f1a76f5cc64d
bpo-41336: Fix the error handling in zoneinfo_new_instance() (GH-21546)

Do not call PyObject_CallMethod() with a live exception (like
KeyboardInterrupt).
(cherry picked from commit eca2549f5a5048b44ca88b9555f1c62f094e3c12)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Modules/_zoneinfo.c