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-protocols
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
20k
Code
Issues
2.7k
Pull requests
415
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-protocols
state:open label:topic-protocols
Search
Labels
Milestones
New issue
Search results
Open
Closed
<code>overload</code>s not recognised when <code>self</code> is typed as a <code>Protocol</code>
bug
mypy got something wrong
mypy got something wrong
topic-overloads
topic-protocols
Status: Open.
#20091
In python/mypy;
·
cmp0xff
opened
on Oct 20, 2025
Issue when <code>self</code> is typed as a <code>Protocol</code>
bug
mypy got something wrong
mypy got something wrong
topic-protocols
topic-self-types
Types for self
Types for self
Status: Open.
#20061
In python/mypy;
·
cmp0xff
opened
on Oct 14, 2025
<code>Literal["..."]</code>s incorrectly assignable to protocol with <code>__getitem__(slice) -> Self</code>
bug
mypy got something wrong
mypy got something wrong
topic-literal-types
topic-protocols
Status: Open.
#20058
In python/mypy;
·
decorator-factory
opened
on Oct 13, 2025
Type confusion with protocol attributes when explicitly subclassing protocol
bug
mypy got something wrong
mypy got something wrong
topic-inheritance
Inheritance and incompatible overrides
Inheritance and incompatible overrides
topic-protocols
Status: Open.
#19862
In python/mypy;
·
hpelwintervold
opened
on Sep 16, 2025
MyPy infers descriptors are always ClassVars when testing assignability to protocols
bug
mypy got something wrong
mypy got something wrong
pending
Issues that may be closed
Issues that may be closed
topic-descriptors
Properties, class vs. instance attributes
Properties, class vs. instance attributes
topic-protocols
Status: Open.
#19702
In python/mypy;
·
dchevell
opened
on Aug 21, 2025
Assignability of overloaded implementation to <code>Proto[**P](Protocol)</code> is overload-order-sensitive
bug
mypy got something wrong
mypy got something wrong
topic-protocols
Status: Open.
#19480
In python/mypy;
·
bzoracler
opened
on Jul 19, 2025
overload, Protocol and generic self: annotations
bug
mypy got something wrong
mypy got something wrong
topic-overloads
topic-protocols
topic-self-types
Types for self
Types for self
Status: Open.
#19381
In python/mypy;
·
Alan-Chen99
opened
on Jul 5, 2025
<code>self</code> annotation not checked in <code>__index__</code>?
bug
mypy got something wrong
mypy got something wrong
topic-calls
Function calls, *args, **kwargs, defaults
Function calls, *args, **kwargs, defaults
topic-protocols
topic-self-types
Types for self
Types for self
Status: Open.
#19341
In python/mypy;
·
MarcoGorelli
opened
on Jun 25, 2025
Cannot infer type argument with TypeVarTuple and Callback protocol
bug
mypy got something wrong
mypy got something wrong
topic-pep-646
PEP 646 (TypeVarTuple, Unpack)
PEP 646 (TypeVarTuple, Unpack)
topic-protocols
Status: Open.
#17453
In python/mypy;
·
cdce8p
opened
on Jun 30, 2024
Crash on diverging recursive generic protocols
crash
topic-protocols
topic-recursive-types
Status: Open.
#17326
In python/mypy;
·
randolf-scholz
opened
on Jun 4, 2024
Disallow type(x) if x has a protocol type
bug
mypy got something wrong
mypy got something wrong
topic-protocols
Status: Open.
#16919
In python/mypy;
·
JukkaL
opened
on Feb 15, 2024
regression with Generic/ParamSpec between 1.4.1 and 1.5.0
bug
mypy got something wrong
mypy got something wrong
topic-protocols
Status: Open.
#15844
In python/mypy;
·
jessemyers-lettuce
opened
on Aug 10, 2023
You can’t perform that action at this time.