]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-103333: Pickle the keyword attributes of AttributeError (#103352)
authorCharles Machalow <csm10495@gmail.com>
Fri, 12 May 2023 20:33:23 +0000 (13:33 -0700)
committerGitHub <noreply@github.com>
Fri, 12 May 2023 20:33:23 +0000 (13:33 -0700)
commit79b17f2cf0e1a2688bd91df02744f461835c4253
treecb576467384cd2f4f2080184472e806af26b37f9
parentcf720acfcbd8c9c25a706a4b6df136465a803992
gh-103333: Pickle the keyword attributes of AttributeError (#103352)

* Pickle the `name` and `args` attributes of AttributeError when present.

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Lib/test/test_exceptions.py
Misc/NEWS.d/next/Core and Builtins/2023-04-09-04-30-02.gh-issue-103333.gKOetS.rst [new file with mode: 0644]
Objects/exceptions.c