commit | c9b8e9c421b57acdcaf24fab0c93bc29b3ef7c67 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Jan 27 17:39:16 2021 +0100 |
committer | GitHub <noreply@github.com> | Wed Jan 27 16:39:16 2021 +0000 |
tree | f174c17b926bd968bf19ddd330524bda46e7aa8e | |
parent | eeb701adc0fc29ba803fddf133d917ff45639a00 [diff] |
bpo-42979: Enhance abstract.c assertions checking slot result (GH-24352) * bpo-42979: Enhance abstract.c assertions checking slot result Add _Py_CheckSlotResult() function which fails with a fatal error if a slot function succeeded with an exception set or failed with no exception set: write the slot name, the type name and the current exception (if an exception is set).