Skip to content
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

Use ctypes.c_long to get the native long type on all platforms; fixes 32-bit TimeStamp hashcode #22

Merged
merged 4 commits into from
Apr 9, 2015

Conversation

jamadden
Copy link
Member

@jamadden jamadden commented Apr 9, 2015

Also add tests for non-native bitness values.

Fixes #21

# of the c version should be exactly
# -1419374591
# and the 64-bit should be exactly:
#
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like an incomplete comment.

@mgedmin
Copy link
Member

mgedmin commented Apr 9, 2015

LGTM.

tseaver added a commit that referenced this pull request Apr 9, 2015
Use `ctypes.c_long` to get the native long type on all platforms; fixes 32-bit TimeStamp hashcode
@tseaver tseaver merged commit cad848a into zopefoundation:master Apr 9, 2015
@tseaver
Copy link
Member

tseaver commented Apr 9, 2015

Thanks!

fabiomaggio pushed a commit to fabiomaggio/persistent that referenced this pull request Feb 20, 2017
Use `ctypes.c_long` to get the native long type on all platforms; fixes 32-bit TimeStamp hashcode
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.

Test failure in test_hash_equal on py2.6 windows
3 participants