commit | df22c03b93ea4620fdf4a0b3cbbbfa7c645af783 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Thu May 23 01:00:58 2019 +0200 |
committer | GitHub <noreply@github.com> | Thu May 23 01:00:58 2019 +0200 |
tree | 87a86340ef143d19350e9f52b18d4f28f0a982b7 | |
parent | 5edcf263581c70f6a6c2206db679e51e9418bb38 [diff] |
bpo-36829: PyErr_WriteUnraisable() normalizes exception (GH-13507) PyErr_WriteUnraisable() now creates a traceback object if there is no current traceback. Moreover, call PyErr_NormalizeException() and PyException_SetTraceback() to normalize the exception value. Ignore silently any error.