DanielStutzbach / blist

A list-like type with better asymptotic performance and similar performance on small lists
Other
310 stars 36 forks source link

Issues on non-ix86 architectures #1

Closed michel-slm closed 14 years ago

michel-slm commented 14 years ago

The three patches in my form of blist address the following issues; a pull request has been made.

fastcall-ix86-only: this one actually just fixes some warnings: the fastcall convention for GCC really only makes sense on ix86 (IA-32), as on all our other supported platforms (x86_64, ppc, ppc64) the default convention is already to put the first few arguments in registers

remove-unsafe-tests: disable some tests that use out-of-range integers: on non-ix86, they cause segmentation faults

use-upstream-macros: for some reason, Py_RETURN_TRUE and Py_RETURN_FALSE are redefined, after they are already used in the file (but with the same definition as the original). This patch removes them

DanielStutzbach commented 14 years ago

Fixed in blist 1.0.2.