-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
inconsistent integer hashing on 64bit systems with python 2.7 #11986
Comments
Milestone sage-4.7.3 deleted |
Dependencies: #9958 |
Attachment: 11986_integer_hash.patch.gz |
Author: Jeroen Demeyer |
comment:4
Attached patch fixes the problem on x86_64 Linux, not yet tested on other systems. |
comment:5
Works fine on 32-bit i386 Linux. |
comment:6
I tried this on one of my amd64 machine with a vanilla sage-4.8.alpha3 (using python-2.6) and got this back:
Everything is working as intended with python-2.7 on that machine. |
Reviewer: François Bissey |
comment:7
It's fine on a 32bit OS (OS X 10.5.8) with python 2.6. 4.8.alpha3 fails as above on my linux 64bit box but with 4.8.alpha4 (and python 2.6) on the same box everything is fine. I am setting this to positive review. |
comment:8
I applied just 11986_integer_hash.patch on top of a fresh build of sage-4.8.alpha4 with python-2.6. Both the padic_capped_relative_element.pyx and integer.pyx tests mentioned above pass here on 32-bit i686 and 64-bit amd64. The tests also pass when sage is built with python-2.7 on the same architectures. |
Merged: sage-5.0.beta0 |
With python 2.7 integer hashing is broken on 64bit systems in a similar way than [
#4957 comment:3] in #4957 which was fixed 3 years ago. The following tests
and (which is reminiscent of #4957):
On my 64bit system with python-2.7:
Depends on #9958
Component: c_lib
Author: Jeroen Demeyer
Reviewer: François Bissey
Merged: sage-5.0.beta0
Issue created by migration from https://trac.sagemath.org/ticket/11986
The text was updated successfully, but these errors were encountered: