Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
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
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
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
Type
/
to search
Sign in
Sign up
Appearance settings
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
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.3k
Star
20.6k
Code
Issues
2.7k
Pull requests
459
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Exclude the same special attributes from Protocol as CPython
- #15490
#15490
Merged
hauntsaninja
merged 6 commits into
python:master
python/mypy:master
from
HexDecimal:protocol-exclusions
HexDecimal/mypy:protocol-exclusions
Copy head branch name to clipboard
Jun 26, 2023
Conversation
Commits
6
(6)
Checks
Files changed
Merged
Exclude the same special attributes from Protocol as CPython
#15490
hauntsaninja
merged 6 commits into
python:master
python/mypy:master
from
HexDecimal:protocol-exclusions
HexDecimal/mypy:protocol-exclusions
Copy head branch name to clipboard
Commits
Commits on Jun 21, 2023
Test `__slots__` used as a protocol member
HexDecimal
committed
2966617
View commit details
Copy full SHA for 2966617
Browse repository at this point
Exclude special attributes not collected by Python
HexDecimal
committed
67872e8
View commit details
Copy full SHA for 67872e8
Browse repository at this point
Add tests for `__class_getitem__` in protocols
HexDecimal
committed
e2edbf9
View commit details
Copy full SHA for e2edbf9
Browse repository at this point
Make EXCLUDED_ATTRIBUTES a class constant
Show description for 87ddf42
HexDecimal
committed
87ddf42
View commit details
Copy full SHA for 87ddf42
Browse repository at this point
Move excluded attributes back to the top-level
HexDecimal
committed
b348e71
View commit details
Copy full SHA for b348e71
Browse repository at this point
Commits on Jun 22, 2023
Add test for Protocol slots with init assignment
Show description for f473ea0
HexDecimal
committed
f473ea0
View commit details
Copy full SHA for f473ea0
Browse repository at this point
You can’t perform that action at this time.