-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* optimize the numpy hook * update numpy tests * Remove try-except clauses to catch ReferenceError - Only type(obj) is passed to the numpy helper functions, and calling type() on a proxy of a deleted weakly-referenced object is safe. - Similarly, using "%r" for string substitution with a proxy of a deleted object is safe, so there's no need to have a 'R3' case in save_weakproxy() - Removed test cases from test_weakref.py related to Python 2 old-style classes - Fixed a bad use of 'NoReturn' instead of 'None' in logger.py
- Loading branch information
Showing
4 changed files
with
74 additions
and
127 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