Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: Interaction with get_type_hints and Annotated <3.11.#312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
DanCardin wants to merge1 commit intopython:main
base:main
Choose a base branch
Loading
fromDanCardin:get_type_hints_annotated

Conversation

@DanCardin
Copy link

@DanCardinDanCardin commentedDec 8, 2023
edited
Loading

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

Fixes#310.

Although its unclear to me whether/how fully replicatingForwardRef might have downstream effects on things. Certainly it seems like anyone usingisinstance(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 commentedDec 8, 2023
edited by ghost
Loading

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
Member

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Annotated/get_type_hints interaction in python <3.11

3 participants

@DanCardin@brianschubert@Daraan

[8]ページ先頭

©2009-2025 Movatter.jp