Skip to content

BUG: Temporary fix for str(mvoid) for object field types - #7659

Merged
charris merged 1 commit into
numpy:masterfrom
ahaldane:fix_7493
May 23, 2016
Merged

charris merged 1 commit into
numpy:masterfrom
ahaldane:fix_7493

Conversation

@ahaldane

Copy link
Copy Markdown
Member

Fixes #7493, using a temporary hack, to be properly fixed later
(eg with #6053)

Printing a Masked-Void instance broke if the instance has a field of
Object dtype because assignment involving structured dtypes with objects
doesn't work. Fix is to use dtype-transfer code which avoids the bug.

Fixes numpy#7493, using a temporary hack, to be properly fixed later
(eg with numpy#6053)

Printing a Masked-Void instance broke if the instance has a field of
Object dtype because assignment involving structured dtypes with objects
doesn't work. Fix is to use dtype-transfer code which avoid the bug.
@charris
charris merged commit 313a9b2 into numpy:master May 23, 2016
@charris

charris commented May 23, 2016

Copy link
Copy Markdown
Member

Thanks @ahaldane .

@ahaldane
ahaldane deleted the fix_7493 branch April 25, 2017 16:07
eric-wieser added a commit to eric-wieser/numpy that referenced this pull request Sep 25, 2017
Working with 0d arrays is enough here
theodoregoetz pushed a commit to theodoregoetz/numpy that referenced this pull request Oct 23, 2017
Working with 0d arrays is enough here
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.

Bug in masked array indexing.

2 participants