Skip to content

BUG: Fix misplaced return.#20986

Merged
charris merged 1 commit intonumpy:maintenance/1.22.xfrom
charris:backport-20980
Feb 3, 2022
Merged

BUG: Fix misplaced return.#20986
charris merged 1 commit intonumpy:maintenance/1.22.xfrom
charris:backport-20980

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Feb 2, 2022

Backport of #20980.

This lead to crashes when casting failed with an error already set.
Internally to NumPy, this is exceedingly rare (maybe impossible aside
from catastrophic failures, such as out-of-memory).

Backport of numpy#20980.

This lead to crashes when casting failed with an error already set.
Internally to NumPy, this is exceedingly rare (maybe impossible aside
from catastrophic failures, such as out-of-memory).
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Feb 2, 2022
@charris charris added this to the 1.22.2 release milestone Feb 2, 2022
@charris charris merged commit da47aa2 into numpy:maintenance/1.22.x Feb 3, 2022
@charris charris deleted the backport-20980 branch April 10, 2022 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant