Skip to content

MAINT: Extract raising of MemoryError to a helper function - #14477

Merged
mattip merged 1 commit into
numpy:masterfrom
eric-wieser:MemoryError-cleanup
Sep 13, 2019
Merged

mattip merged 1 commit into
numpy:masterfrom
eric-wieser:MemoryError-cleanup

Conversation

@eric-wieser

Copy link
Copy Markdown
Member

Some minor cleanup that makes the error handling path take up less space in the main flow.

This also fails in a slightly more sensible way if somehow other stuff goes wrong while trying to produce the error message.

Comment thread numpy/core/src/multiarray/ctors.c Resolved
Some minor cleanup that makes the error handling path take up less space in the main flow
@mattip
mattip merged commit 4d13d4c into numpy:master Sep 13, 2019
@mattip

mattip commented Sep 13, 2019

Copy link
Copy Markdown
Member

LGTM C/C++ analysis seems stuck. This looks good, merging.

@eric-wieser
eric-wieser deleted the MemoryError-cleanup branch September 14, 2019 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants