SIGN IN SIGN UP

[3.11] gh-115165: Fix `typing.Annotated` for immutable types (GH-115213) (#115228)

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>
M
Miss Islington (bot) committed
7542210a95dda6e9eb3e7f0c606940d6f3b75c72
Parent: ca3eca1
Committed by GitHub <noreply@github.com> on 2/9/2024, 10:43:24 PM