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
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
482
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Support TypeGuard (PEP 647)
- #9865
#9865
Merged
gvanrossum
merged 27 commits into
master
python/mypy:master
from
typeguard
python/mypy:typeguard
Copy head branch name to clipboard
Jan 18, 2021
Conversation
Commits
27
(27)
Checks
Files changed
Merged
Support TypeGuard (PEP 647)
#9865
gvanrossum
merged 27 commits into
master
python/mypy:master
from
typeguard
python/mypy:typeguard
Copy head branch name to clipboard
Commits
Commits on Dec 30, 2020
Tentative first steps for TypeGuard (PEP 647)
gvanrossum
committed
9469ffc
View commit details
Copy full SHA for 9469ffc
Browse repository at this point
Rename is_type_guard to type_guard, fix repr and serialization
gvanrossum
committed
884d9af
View commit details
Copy full SHA for 884d9af
Browse repository at this point
Perhaps naive but passes the test
gvanrossum
committed
f55b284
View commit details
Copy full SHA for f55b284
Browse repository at this point
Add more tests, tweak tests (one new test fails)
gvanrossum
committed
bdc97ef
View commit details
Copy full SHA for bdc97ef
Browse repository at this point
Update typeshed
gvanrossum
committed
0ed5434
View commit details
Copy full SHA for 0ed5434
Browse repository at this point
Make is_str_list() test work
Show description for 47df17d
gvanrossum
committed
47df17d
View commit details
Copy full SHA for 47df17d
Browse repository at this point
Add a test showing a controversial behavior
gvanrossum
committed
fbfeeb6
View commit details
Copy full SHA for fbfeeb6
Browse repository at this point
Fix mypy and lint
gvanrossum
committed
03e566f
View commit details
Copy full SHA for 03e566f
Browse repository at this point
Update typeshed and fix test name typo
gvanrossum
committed
93387bd
View commit details
Copy full SHA for 93387bd
Browse repository at this point
Sync typeshed to the version that has TypeGuard
gvanrossum
committed
708f2e5
View commit details
Copy full SHA for 708f2e5
Browse repository at this point
Merge branch 'master' into typeguard
gvanrossum
committed
cf067d1
View commit details
Copy full SHA for cf067d1
Browse repository at this point
Commits on Dec 31, 2020
Add two new tests
Show description for 0d2eb06
gvanrossum
committed
0d2eb06
View commit details
Copy full SHA for 0d2eb06
Browse repository at this point
Commits on Jan 1, 2021
Minimal changes to make filter() test pass
gvanrossum
committed
8264f8d
View commit details
Copy full SHA for 8264f8d
Browse repository at this point
Fix mypy error in new code (corrected)
gvanrossum
committed
4335785
View commit details
Copy full SHA for 4335785
Browse repository at this point
Commits on Jan 2, 2021
Make methods work (adds a field to RefExpr)
gvanrossum
committed
b34d2ac
View commit details
Copy full SHA for b34d2ac
Browse repository at this point
Move walrus test to 3.8-only test file
gvanrossum
committed
9bdd779
View commit details
Copy full SHA for 9bdd779
Browse repository at this point
Commits on Jan 4, 2021
Merge branch 'master' into typeguard
gvanrossum
committed
249b6e5
View commit details
Copy full SHA for 249b6e5
Browse repository at this point
Add cross-module test; remove test TODOs
gvanrossum
committed
639b0fc
View commit details
Copy full SHA for 639b0fc
Browse repository at this point
Commits on Jan 5, 2021
Merge remote-tracking branch 'origin/master' into typeguard
gvanrossum
committed
4400702
View commit details
Copy full SHA for 4400702
Browse repository at this point
Commits on Jan 8, 2021
Merge remote-tracking branch 'origin/master' into typeguard
gvanrossum
committed
d108c6e
View commit details
Copy full SHA for d108c6e
Browse repository at this point
Add many new tests
Show description for d96beea
gvanrossum
committed
d96beea
View commit details
Copy full SHA for d96beea
Browse repository at this point
Commits on Jan 11, 2021
Require that a type guard's first argument is positional
gvanrossum
committed
370818f
View commit details
Copy full SHA for 370818f
Browse repository at this point
Capitalize error message
gvanrossum
committed
9062adb
View commit details
Copy full SHA for 9062adb
Browse repository at this point
Avoid using **extra if possible
gvanrossum
committed
5e76923
View commit details
Copy full SHA for 5e76923
Browse repository at this point
Commits on Jan 12, 2021
Clean up testTypeGuardOverload -- it still fails, though
gvanrossum
committed
37d2a5f
View commit details
Copy full SHA for 37d2a5f
Browse repository at this point
Commits on Jan 18, 2021
Merge remote-tracking branch 'origin/master' into typeguard
gvanrossum
committed
9d7b6c6
View commit details
Copy full SHA for 9d7b6c6
Browse repository at this point
Fix lint
gvanrossum
committed
896c90e
View commit details
Copy full SHA for 896c90e
Browse repository at this point
You can’t perform that action at this time.