Skip to content

BUG: fix common.is_hashable for NumPy scalars on Python 3 #9473

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

Merged
merged 1 commit into from
Feb 16, 2015

Conversation

shoyer
Copy link
Member

@shoyer shoyer commented Feb 12, 2015

Fixes #9276

This now relies entirely on the result of calling hash on the argument.

Note: I had to change the test for old style classes on Python 2 -- these are
now considered hashable by is_hashable, because they don't fail hash.

CC @aevri

Fixes GH9276

This now relies entirely on the result of calling ``hash`` on the argument.

Note: I had to change the test for old style classes on Python 2 -- these are
now considered hashable by `is_hashable`, because they don't fail `hash`.

CC aevri
@jreback jreback added this to the 0.16.0 milestone Feb 12, 2015
@jreback
Copy link
Contributor

jreback commented Feb 12, 2015

lgtm

jreback added a commit that referenced this pull request Feb 16, 2015
BUG: fix common.is_hashable for NumPy scalars on Python 3
@jreback jreback merged commit eb1c4e3 into pandas-dev:master Feb 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: common.is_hashable returns False for np.float64 on Python 3
2 participants