Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
View all features
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
state:open label:topic-inference
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
/
mypy
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
3k
Star
19.9k
Code
Issues
2.7k
Pull requests
390
Actions
Projects
0
Wiki
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Announcement issue for plugin API changes
#6617 ·
msullivan
opened
on Apr 3, 2019
22
Issues
Search Issues
state
:
open
label
:
topic-inference
state:open label:topic-inference
Search
Labels
Milestones
New issue
Search results
Open
Closed
Sequences of attrs validators
bug
mypy got something wrong
mypy got something wrong
topic-attrs
topic-inference
When to infer types or require explicit annotations
When to infer types or require explicit annotations
topic-join-v-union
Using join vs. using unions
Using join vs. using unions
topic-type-context
Type context / bidirectional inference
Type context / bidirectional inference
Status: Open.
#20013
In python/mypy;
·
AdrianSosic
opened
on Oct 7, 2025
INTERNAL ERROR with allow_redefinition_new and undeclared instance variables
crash
topic-inference
When to infer types or require explicit annotations
When to infer types or require explicit annotations
Status: Open.
#19996
In python/mypy;
·
bernikr
opened
on Oct 3, 2025
incorrect inferred type accessing typed dict with static keys
bug
mypy got something wrong
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
When to infer types or require explicit annotations
topic-literal-types
topic-typed-dict
Status: Open.
#19961
In python/mypy;
·
yabirgb
opened
on Oct 1, 2025
<code>--allow-redefinition-new</code> does not mean "new" implementation but "new" variables
documentation
topic-inference
When to infer types or require explicit annotations
When to infer types or require explicit annotations
Status: Open.
#19918
In python/mypy;
·
toslunar
opened
on Sep 24, 2025
allow-redefinition-new for enum results in incompatible type of Literal[members]
bug
mypy got something wrong
mypy got something wrong
topic-enum
topic-inference
When to infer types or require explicit annotations
When to infer types or require explicit annotations
topic-literal-types
Status: Open.
#19894
In python/mypy;
·
eli-schwartz
opened
on Sep 21, 2025
Cannot infer value of constrained type parameter when calling function with union
bug
mypy got something wrong
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
When to infer types or require explicit annotations
topic-type-variables
Status: Open.
#19834
In python/mypy;
·
brandonchinn178
opened
on Sep 12, 2025
Unexpected order dependence when assigning to multiple targets
bug
mypy got something wrong
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
When to infer types or require explicit annotations
Status: Open.
#19553
In python/mypy;
·
ncoghlan
opened
on Jul 31, 2025
More specific inline dict type inference can fail on 1.17.0
bug
mypy got something wrong
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
When to infer types or require explicit annotations
Status: Open.
#19474
In python/mypy;
·
markhobson
opened
on Jul 17, 2025
Infer type of generic class from return type of (optionally awaitable) callable passed to constructor
bug
mypy got something wrong
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
When to infer types or require explicit annotations
Status: Open.
#19143
In python/mypy;
·
DouweM
opened
on May 23, 2025
Base {} Dict Should Infer from Function Return Type
bug
mypy got something wrong
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
When to infer types or require explicit annotations
Status: Open.
#18700
In python/mypy;
·
dibrinsofor
opened
on Feb 18, 2025
Using <code>classmethod</code> of generic alias of a generic type and <code>--disallow-any-generics</code>
topic-inference
When to infer types or require explicit annotations
When to infer types or require explicit annotations
topic-type-alias
TypeAlias and other type alias issues
TypeAlias and other type alias issues
Status: Open.
#16982
In python/mypy;
·
sobolevn
opened
on Mar 4, 2024
Generic matching error when tuple-unpacking result
bug
mypy got something wrong
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
When to infer types or require explicit annotations
topic-type-variables
topic-union-types
Status: Open.
#16310
In python/mypy;
·
msullivan
opened
on Oct 21, 2023
You can’t perform that action at this time.