-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support TypeGuard (PEP 647) #9865
Merged
Merged
Commits on Dec 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9469ffc - Browse repository at this point
Copy the full SHA 9469ffcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 884d9af - Browse repository at this point
Copy the full SHA 884d9afView commit details -
Configuration menu - View commit details
-
Copy full SHA for f55b284 - Browse repository at this point
Copy the full SHA f55b284View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdc97ef - Browse repository at this point
Copy the full SHA bdc97efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ed5434 - Browse repository at this point
Copy the full SHA 0ed5434View commit details -
This is a bit ugly -- in find_isinstance_check() we wrap the type in a way that is only recognized in on specific other place, narrow_type_from_binder().
Configuration menu - View commit details
-
Copy full SHA for 47df17d - Browse repository at this point
Copy the full SHA 47df17dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbfeeb6 - Browse repository at this point
Copy the full SHA fbfeeb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03e566f - Browse repository at this point
Copy the full SHA 03e566fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93387bd - Browse repository at this point
Copy the full SHA 93387bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 708f2e5 - Browse repository at this point
Copy the full SHA 708f2e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf067d1 - Browse repository at this point
Copy the full SHA cf067d1View commit details
Commits on Dec 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0d2eb06 - Browse repository at this point
Copy the full SHA 0d2eb06View commit details
Commits on Jan 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8264f8d - Browse repository at this point
Copy the full SHA 8264f8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4335785 - Browse repository at this point
Copy the full SHA 4335785View commit details
Commits on Jan 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b34d2ac - Browse repository at this point
Copy the full SHA b34d2acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bdd779 - Browse repository at this point
Copy the full SHA 9bdd779View commit details
Commits on Jan 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 249b6e5 - Browse repository at this point
Copy the full SHA 249b6e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 639b0fc - Browse repository at this point
Copy the full SHA 639b0fcView commit details
Commits on Jan 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4400702 - Browse repository at this point
Copy the full SHA 4400702View commit details
Commits on Jan 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d108c6e - Browse repository at this point
Copy the full SHA d108c6eView commit details -
These mostly come from Jukka's suggestions. Most pass; 4 are currently being skipped: [case testTypeGuardWithKeywordArgsSwapped-skip] is_float(b=1, a=a) incorrectly asserts that b is a float [case testTypeGuardWithStarArgsTuple-skip] [case testTypeGuardWithStarArgsList-skip] Horrible things happen with *args [case testTypeGuardOverload-skip] A plain bool function is accepted by a higher-order function (overload) requiring a type guard [case testTypeGuardMethodOverride-skip] A plain bool function in a subclass incorrectly is allowed to override a type guard in the base class
Configuration menu - View commit details
-
Copy full SHA for d96beea - Browse repository at this point
Copy the full SHA d96beeaView commit details
Commits on Jan 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 370818f - Browse repository at this point
Copy the full SHA 370818fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9062adb - Browse repository at this point
Copy the full SHA 9062adbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e76923 - Browse repository at this point
Copy the full SHA 5e76923View commit details
Commits on Jan 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 37d2a5f - Browse repository at this point
Copy the full SHA 37d2a5fView commit details
Commits on Jan 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9d7b6c6 - Browse repository at this point
Copy the full SHA 9d7b6c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 896c90e - Browse repository at this point
Copy the full SHA 896c90eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.