diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-02-09 22:31:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-09 22:31:57 (GMT) |
commit | 321ec5e0fe87220c5ed5711926bb0212f963e5fd (patch) | |
tree | 5eab6f4087dbc893aef6c4443b63f99b10d89a04 /Python/symtable.c | |
parent | 3539b02873525ffbb81f34491c982c52393ae87e (diff) | |
download | cpython-321ec5e0fe87220c5ed5711926bb0212f963e5fd.zip cpython-321ec5e0fe87220c5ed5711926bb0212f963e5fd.tar.gz cpython-321ec5e0fe87220c5ed5711926bb0212f963e5fd.tar.bz2 |
[3.12] gh-115165: Fix `typing.Annotated` for immutable types (GH-115213) (#115227)
gh-115165: Fix `typing.Annotated` for immutable types (GH-115213)
The return value from an annotated callable can raise any exception from
__setattr__ for the `__orig_class__` property.
(cherry picked from commit 564385612cdf72c2fa8e629a68225fb2cd3b3d99)
Co-authored-by: dave-shawley <daveshawley@gmail.com>
Diffstat (limited to 'Python/symtable.c')
0 files changed, 0 insertions, 0 deletions