Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
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 }}
python
mypy
Repository navigation
Code
Issues
2.7k
(2.7k)
Pull requests
529
(529)
Actions
Projects
Wiki
Security and quality
Insights
More
items
Type[C]
- #1569
#1569
Merged
JukkaL
merged 23 commits into
master
python/mypy:master
from
typec
python/mypy:typec
Copy head branch name to clipboard
Jun 8, 2016
Conversation
Commits
23
(23)
Checks
Files changed
Merged
Type[C]
#1569
JukkaL
merged 23 commits into
master
python/mypy:master
from
typec
python/mypy:typec
Copy head branch name to clipboard
Commits
Commits on Jun 6, 2016
Tentative tests for Type[C].
Guido van Rossum
committed
b7ddf36
View commit details
Copy full SHA for b7ddf36
Browse repository at this point
Pave the way for implementing Type[C].
Guido van Rossum
committed
eb61f1d
View commit details
Copy full SHA for eb61f1d
Browse repository at this point
WIP: Introducing TypeType: Type[x] becomes TypeType(x).
Guido van Rossum
committed
7b52ac6
View commit details
Copy full SHA for 7b52ac6
Browse repository at this point
WIP: Fix/new tests; implement more subtype checks.
Guido van Rossum
committed
1fd14f0
View commit details
Copy full SHA for 1fd14f0
Browse repository at this point
WIP: Towards supporting Type[T].
Show description for 371e425
Guido van Rossum
committed
371e425
View commit details
Copy full SHA for 371e425
Browse repository at this point
Fix things so all tests pass!
Guido van Rossum
committed
96696ff
View commit details
Copy full SHA for 96696ff
Browse repository at this point
Some cleanup and fixup (not done).
Show description for aa37595
Guido van Rossum
committed
aa37595
View commit details
Copy full SHA for aa37595
Browse repository at this point
Improve equivalence between type and Type.
Guido van Rossum
committed
d4745b0
View commit details
Copy full SHA for d4745b0
Browse repository at this point
Add support for method lookup from Type[].
Show description for cf4a0b7
Guido van Rossum
committed
cf4a0b7
View commit details
Copy full SHA for cf4a0b7
Browse repository at this point
Print a proper error for unsupported Type[] args.
Show description for 81ee239
Guido van Rossum
committed
81ee239
View commit details
Copy full SHA for 81ee239
Browse repository at this point
Reject Type[U] where U's bound is a generic class.
Guido van Rossum
committed
3d92049
View commit details
Copy full SHA for 3d92049
Browse repository at this point
Support classes with @overload-ed __init__.
Guido van Rossum
committed
5ab11d2
View commit details
Copy full SHA for 5ab11d2
Browse repository at this point
Update our copies of typing.py to the latest from the python/typing repo.
Guido van Rossum
committed
afb0482
View commit details
Copy full SHA for afb0482
Browse repository at this point
Commits on Jun 7, 2016
Make Type[A] erase to Type[A], but Type[T] erases to Type[Any].
Guido van Rossum
committed
db30d59
View commit details
Copy full SHA for db30d59
Browse repository at this point
Special-case joining Type[] with builtins.type.
Show description for 6029c9d
Guido van Rossum
committed
6029c9d
View commit details
Copy full SHA for 6029c9d
Browse repository at this point
Special-case joining Type[] with builtins.type.
Show description for 786ef96
Guido van Rossum
committed
786ef96
View commit details
Copy full SHA for 786ef96
Browse repository at this point
Delete outdated XXX comment.
Guido van Rossum
committed
ef247f2
View commit details
Copy full SHA for ef247f2
Browse repository at this point
Finishing touch -- fix and test TypeAnalyser.visit_type_type().
Guido van Rossum
committed
4162103
View commit details
Copy full SHA for 4162103
Browse repository at this point
Added tests as requested.
Guido van Rossum
committed
26ff267
View commit details
Copy full SHA for 26ff267
Browse repository at this point
Remove comment asking for name for analyze_type_type_callee().
Guido van Rossum
committed
256b31a
View commit details
Copy full SHA for 256b31a
Browse repository at this point
Use self.default(self.s) instead of AnyType()/NonType() in join/meet.
Guido van Rossum
committed
d224aff
View commit details
Copy full SHA for d224aff
Browse repository at this point
Add tests for overloaded __init__.
Guido van Rossum
committed
d9c74a0
View commit details
Copy full SHA for d9c74a0
Browse repository at this point
Add more tests. Fixed a bug in join() this found.
Guido van Rossum
committed
eaa9e0d
View commit details
Copy full SHA for eaa9e0d
Browse repository at this point
You can’t perform that action at this time.