]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-106719: Fix __annotations__ getter and setter in the type and module types...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 18 Jul 2023 07:01:22 +0000 (00:01 -0700)
committerGitHub <noreply@github.com>
Tue, 18 Jul 2023 07:01:22 +0000 (10:01 +0300)
commitd671c6567aa5b5c4478aadcd623f5c3b8261b5b1
tree5a275ff9c7f6e72e51d3c6d67947e5f709105ec0
parente903c16a6c3fe0adb594f93acc56e719590c4790
[3.12] gh-106719: Fix __annotations__ getter and setter in the type and module types (GH-106720) (GH-106848)

gh-106719: Fix __annotations__ getter and setter in the type and module types (GH-106720)

No longer suppress arbitrary errors. Simplify the code.
(cherry picked from commit e1c295e3da9ff5a3eb6b009a1f821d80e564ac87)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Misc/NEWS.d/next/Core and Builtins/2023-07-13-15-59-07.gh-issue-106719.jmVrsv.rst [new file with mode: 0644]
Objects/moduleobject.c
Objects/typeobject.c