Skip to content

Conversation

@DanCardin
Copy link

@DanCardinDanCardin commented Dec 8, 2023

I now see why #94 opted to avoid copying the whole function 😮‍💨

Fixes#310.

Although its unclear to me whether/how fully replicating ForwardRef might have downstream effects on things. Certainly it seems like anyone using isinstance(x, ForwardRef) will not work after this below 3.11, but the original class is also Final, so I wasn't sure what else to do about it.

@ghost
Copy link

ghost commented Dec 8, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@python-cla-bot
Copy link

All commit authors signed the Contributor License Agreement.

CLA signed

@brianschubert
Copy link
Contributor

I think this has been superseded by #482?

@Daraan
Copy link
Contributor

I think this has been superseded by #482?

I think so as well. Its a possible reference in case more needs to be pulled back at some time.

Sign up for freeto 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.

Annotated/get_type_hints interaction in python <3.11

3 participants

@DanCardin@brianschubert@Daraan