Skip to content
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

Optimize the numpy hook #542

Merged
merged 4 commits into from Aug 13, 2022
Merged

Optimize the numpy hook #542

merged 4 commits into from Aug 13, 2022

Commits on Aug 11, 2022

  1. optimize the numpy hook

    leogama committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    9ad8757 View commit details
    Browse the repository at this point in the history
  2. update numpy tests

    leogama committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    85b0bf7 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2022

  1. 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
    leogama committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    505d63c View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2022

  1. Configuration menu
    Copy the full SHA
    9d202e8 View commit details
    Browse the repository at this point in the history