commit | effaec0bb54f381db8ccfa62514bc26b00946b40 | [log] [tgz] |
---|---|---|
author | Zackery Spytz <zspytz@gmail.com> | Fri Feb 05 01:25:30 2021 -0700 |
committer | GitHub <noreply@github.com> | Fri Feb 05 10:25:30 2021 +0200 |
tree | 19073d9df8fc11ca4823ef321b33edb0ac6dab38 | |
parent | 755c6e637a4f098881953e0c6d269d576fdbdcba [diff] |
bpo-43132: Fix incorrect handling of PyObject_RichCompareBool() in _zoneinfo (GH-24450) PyObject_RichCompareBool() returns -1 on error, but this case is not handled by the find_in_strong_cache() function. Any exception raised by PyObject_RichCompareBool() should be propagated.