Skip to content

BUG: fix collections.Hashable behaviour for numpy arrays. - #5326

Merged
charris merged 1 commit into
numpy:masterfrom
cournape:fix_hashable_collections
Nov 30, 2014
Merged

charris merged 1 commit into
numpy:masterfrom
cournape:fix_hashable_collections

Conversation

@cournape

Copy link
Copy Markdown
Member

While hash(a) raises an exception as expected for an array a, a.__hash__() does not, and isinstance(a, collections.IsHashable) returns True.

This fixes the issuew/ one trivial test.

charris added a commit that referenced this pull request Nov 30, 2014
BUG: fix collections.Hashable behaviour for numpy arrays.
@charris
charris merged commit 665e52e into numpy:master Nov 30, 2014
@charris

charris commented Nov 30, 2014

Copy link
Copy Markdown
Member

Thanks David.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants