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

Apply union expansion when checking ops involving typevars#19455

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

Open
sterliakov wants to merge3 commits intopython:master
base:master
Choose a base branch
Loading
fromsterliakov:bugfix/gh-19454-ops-on-typevr

Conversation

sterliakov
Copy link
Collaborator

Fixes#19454. This might not be the most disciplined approach, but it should match the general expectations.

@sterliakovsterliakov changed the titleApply union expansion when checking ops to typevarsApply union expansion when checking ops involving typevarsJul 16, 2025
@github-actionsGitHub Actions
Copy link
Contributor

According tomypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@sterliakovsterliakov marked this pull request as ready for reviewJuly 16, 2025 14:39
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.

Comparison operators emit "Unsupported operand types" when usingisinstance to narrowTypeVar to union of numeric types
1 participant
@sterliakov

[8]ページ先頭

©2009-2025 Movatter.jp