]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132261: Store annotations at hidden internal keys in the class dict (#132345)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Fri, 11 Apr 2025 04:13:26 +0000 (21:13 -0700)
committerGitHub <noreply@github.com>
Fri, 11 Apr 2025 04:13:26 +0000 (21:13 -0700)
commit07b8d3117fdbc4e5be55aab0be428c278ec84e12
tree31f37f65b1ebe9553f577586ba42e27588d22292
parente5f68fd29b3bd867207f23608a8dbc5759a056ed
gh-132261: Store annotations at hidden internal keys in the class dict (#132345)
16 files changed:
Doc/library/annotationlib.rst
Include/internal/pycore_global_objects_fini_generated.h
Include/internal/pycore_global_strings.h
Include/internal/pycore_magic_number.h
Include/internal/pycore_runtime_init_generated.h
Include/internal/pycore_unicodeobject_generated.h
Lib/annotationlib.py
Lib/pydoc.py
Lib/test/test_ast/test_ast.py
Lib/test/test_pydoc/test_pydoc.py
Lib/test/test_type_annotations.py
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Core_and_Builtins/2025-04-09-21-51-37.gh-issue-132261.gL8thm.rst [new file with mode: 0644]
Objects/typeobject.c
Python/codegen.c