Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
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
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
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
Search or jump to...
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
3.1k
Star
20.2k
Code
Issues
2.7k
Pull requests
424
Actions
Projects
0
Wiki
Security
0
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
23
Issues
Search Issues
is
:
issue
state
:
open
is:issue state:open
Search
Labels
Milestones
New issue
Search results
Open
Closed
<code>__contains__</code> must accept <code>object</code> even when container is annotated as <code>Container[str]</code>
bug
mypy got something wrong
mypy got something wrong
pending
Issues that may be closed
Issues that may be closed
Status: Open.
#20740
In python/mypy;
·
samueljsb
opened
on Feb 4, 2026
Type of instance variable narrowed incorrectly after <code>is not</code> expression
bug
mypy got something wrong
mypy got something wrong
topic-type-narrowing
Conditional type narrowing / binder
Conditional type narrowing / binder
Status: Open.
#20736
In python/mypy;
·
p-sawicki
opened
on Feb 4, 2026
Type of literal narrowed when asserting equality to a NewType
bug
mypy got something wrong
mypy got something wrong
topic-type-narrowing
Conditional type narrowing / binder
Conditional type narrowing / binder
Status: Open.
#20733
In python/mypy;
·
p-sawicki
opened
on Feb 3, 2026
1.20 and 2.0 Release Planning
meta
Issues tracking a broad area of work
Issues tracking a broad area of work
Status: Open.
#20726
In python/mypy;
·
ilevkivskyi
opened
on Feb 2, 2026
Relax default overload subtyping checks
false-positive
mypy gave an error on correct code
mypy gave an error on correct code
feature
topic-overloads
Status: Open.
#20720
In python/mypy;
·
randolf-scholz
opened
on Feb 2, 2026
mypy doesn't get error with <code>dict(**{10: 20})</code> while PVM gets error
bug
mypy got something wrong
mypy got something wrong
topic-runtime-semantics
mypy doesn't model runtime semantics correctly
mypy doesn't model runtime semantics correctly
topic-type-context
Type context / bidirectional inference
Type context / bidirectional inference
Status: Open.
#20706
In python/mypy;
·
hyperkai
opened
on Jan 31, 2026
The different type (<code>str</code>) of unpacked inner dictionary items from the type (<code>int</code>) of outer dictionary items gets error
bug
mypy got something wrong
mypy got something wrong
topic-type-context
Type context / bidirectional inference
Type context / bidirectional inference
Status: Open.
#20705
In python/mypy;
·
hyperkai
opened
on Jan 31, 2026
mypy doesn't get error with typed <code>dict(*{'A': 10})</code> while PVM gets error
bug
mypy got something wrong
mypy got something wrong
topic-type-context
Type context / bidirectional inference
Type context / bidirectional inference
Status: Open.
#20702
In python/mypy;
·
hyperkai
opened
on Jan 30, 2026
Cyclic definition error when defaulting <code>TypeVar</code> on base class to subclass
bug
mypy got something wrong
mypy got something wrong
topic-pep-696
TypeVar defaults
TypeVar defaults
Status: Open.
#20698
In python/mypy;
·
randolf-scholz
opened
on Jan 30, 2026
Type narrowing of <code>target: type[T]</code> using insinstance seems to fool mypy
bug
mypy got something wrong
mypy got something wrong
topic-type-narrowing
Conditional type narrowing / binder
Conditional type narrowing / binder
Status: Open.
#20690
In python/mypy;
·
juliancoffee
opened
on Jan 29, 2026
Unreachability should detect redundant <code>isinstance</code>s even for <code>object</code> arguments
bug
mypy got something wrong
mypy got something wrong
topic-reachability
Detecting unreachable code
Detecting unreachable code
Status: Open.
#20668
In python/mypy;
·
A5rocks
opened
on Jan 28, 2026
Incorrect type inference with PEP 646 Unpack and self-type annotations
bug
mypy got something wrong
mypy got something wrong
topic-pep-646
PEP 646 (TypeVarTuple, Unpack)
PEP 646 (TypeVarTuple, Unpack)
topic-type-variables
Status: Open.
#20651
In python/mypy;
·
zzzeek
opened
on Jan 26, 2026
You can’t perform that action at this time.