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

BUG: Ignore fewer errors during array-coercion #17817

Merged
merged 1 commit into from Dec 16, 2020

Commits on Nov 24, 2020

  1. BUG: Ignore fewer errors during array-coercion

    This changes it so that we only ignore attribute errors on
    looking up `__array__` and propagate errors when checking
    for sequences `len(obj)` if those errors are either
    RecursionError or MemoryError (we consider them unrecoverable).
    
    Also adds test for bad recursive array-like with sequence
    as reported in numpygh-17785. The test might be flaky/more complicated
    in which case it should probably just be deleted.
    seberg committed Nov 24, 2020
    Configuration menu
    Copy the full SHA
    b17dd63 View commit details
    Browse the repository at this point in the history