-
-
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.
This commit is the last in a commit chain generalizing @beartype to officially support the recently released Python 3.12. Specifically, this commit: * Refactors our `beartype.claw` import hook API to reflect Python 3.12-specific changes, including deprecations of: * The `ast.Str` node subclass -- which was technically deprecated by the `ast.Constant` node subclass by Python 3.8. Somehow, we only just got the memo. *facepalm* * Refactors our test suite to reflect Python 3.12-specific changes, including deprecations of: * The `typing.ByteString` type hint factory. * The `collections.abc.ByteString` abstract base class (ABC). (*Quest for nihilistic Nyquist hills!*)
- Loading branch information
Showing
7 changed files
with
246 additions
and
110 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
Oops, something went wrong.