Closed vbraun closed 10 years ago
Description changed:
---
+++
@@ -1 +1,3 @@
This fixes a hash failure due to the Cython upgrade #15755
+
+Note: I'm curently not testing every ticket on 32-bit since we don't have a buildslave that can do it in a reasonable amount of time.
Branch: u/vbraun/cython_32bit
As you sure 32-bit doctest pass?
Changed author from Volker Braun to none
Reviewer: Volker Braun, Jeroen Demeyer
Normally, this should be fixed by #15755, hashes should never return a Python long
. Proposal: close as invalid.
This is caused by #15755. Also, there is nothing wrong with returning long
for hashes on obsolete platforms imho. In this particular case Polybori returns the hash as size_t
.
Changed reviewer from Volker Braun, Jeroen Demeyer to Jeroen Demeyer
Author: Volker Braun
Replying to @vbraun:
This is caused by #15755.
Can you confirm then that doctests do not pass with #15755 and they do pass with #15863?
Also, there is nothing wrong with returning
long
for hashes on obsolete platforms imho.
Who says it only happens on "obsolete" platforms?
Changed reviewer from Jeroen Demeyer to none
Replying to @jdemeyer:
Can you confirm then that doctests do not pass with #15755 and they do pass with #15863?
Yes.
Who says it only happens on "obsolete" platforms?
It works on LP64. Nobody in their right mind is going to use 32-bit or Windows 64 for scientific computations nowadays.
I've already tested #15755 and this ticket on the buildbot. On LP64 both size_t
and C long
have the same size, so it obviously works. With #15755 and 32-bit size_t
now converts to a Python (arbitrary precision) long, but that is fine too as long as the doctest is fixed.
I didn't pull the added commits to #15755, trying again...
Reviewer: Jeroen Demeyer
Ok, works. Sorry for the noise...
Changed author from Volker Braun to none
This fixes a hash failure due to the Cython upgrade #15755
Note: I'm curently not testing every ticket on 32-bit since we don't have a buildslave that can do it in a reasonable amount of time.
Depends on #15755
CC: @ohanar @jpflori
Component: packages: standard
Branch/Commit: u/vbraun/cython_32bit @
d698040
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/15863