-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
beartype.claw
+ typed keyword-only callables.
This commit resolves a critical defect in the `beartype.claw` API in which import hooks published by that API (e.g., `beartype_this_package()`) silently failed to type-check edge-case callables accepting *only* keyword-only parameters and annotated *only* by type hints on those parameters, resolving issue #345 kindly submitted by chad `typing` expert @avolchek (Andrei Volchek). This commit also applies the same consideration to callables accepting *only* keyword-only parameters and annotated *only* by type hints on those parameters, which *may* have suffered a similar critical defect. It's kinda hard to tell. Let us pretend everything works now, everybody. It's easy. Hypnobear compels you to believe these sweet nothings. (*Fleet bleating bear sheep!*)
- Loading branch information
Showing
13 changed files
with
346 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.