Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 25, 2022

We treat Annotated type arg as class-level annotation. This exempts it from checks against Final and ClassVar in order to allow using them in any nesting order.

Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit e1abffc)

Co-authored-by: Gregory Beauregard [email protected]

https://bugs.python.org/issue46491

We treat Annotated type arg as class-level annotation. This exempts it from checks against Final and ClassVar in order to allow using them in any nesting order.

Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit e1abffc)

Co-authored-by: Gregory Beauregard <[email protected]>
@miss-islington
Copy link
Contributor Author

@GBeauregard: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 41e0aea into python:3.10 Jan 25, 2022
@miss-islington miss-islington deleted the backport-e1abffc-3.10 branch January 25, 2022 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants