- 03 Jul, 2015 8 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
re-add embed-signatures test for signed char signature (which should not be impacted by the latest implicit signedness change)
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
Robert Bradshaw authored
I don't know of any platforms where sizeof(long long) == 64, and this is needed for unsigned long + int64_t on LLP64. This may pose a problem if sizeof(uintmax_t) > 64.
-
Robert Bradshaw authored
-
Robert Bradshaw authored
This makes type promotion rules clearer.
-
Robert Bradshaw authored
-
- 02 Jul, 2015 3 commits
-
-
Stefan Behnel authored
-
Robert Bradshaw authored
Sort dependencies in metadata
-
Jeroen Demeyer authored
-
- 01 Jul, 2015 5 commits
-
-
Stefan Behnel authored
-
scoder authored
Fixed mismatched parenthesis.
-
Ian Henriksen authored
when building with gcc or clang.
-
Stefan Behnel authored
-
Ian Henriksen authored
-
- 29 Jun, 2015 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 28 Jun, 2015 14 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
use at least ssize_t temp variables for buffer index calculations even if users use smaller integer types as we might be doing wrap-around calculations that depend on the potentially larger buffer shape
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
use at least ssize_t temp variables for buffer index calculations even if users use smaller integer types as we might be doing wrap-around calculations that depend on the potentially larger buffer shape
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
scoder authored
Rewrite __Pyx_sst_abs using only preprocessor macros, and add a case for 64-bit MSVC
-
David Vierra authored
-
- 27 Jun, 2015 2 commits
-
-
David Vierra authored
-
David Vierra authored
Comparing `sizeof(Py_ssize_t)` to different sizes at compile time results in warnings or errors when the C++ compiler tries to find a function matching `abs(value)` (Per the standard library spec, no functions match if `ssize_t` is a typedef of `long long`). Luckily, `pyport.h` provides some SIZEOF macros we can use at preprocess time. __Pyx_sst_abs is now conditionally defined to a much shorter expression. 64-bit MSVC is one case where `ssize_t` is a `long long`. Instead of falling back to `((value<0) ? -value : value))`, I added a check for 64-bit MSVC that calls the MS-specific function `_abs64(long long)` This change also includes the change given by PR #402, improved with a check against the available C++ version as `std::abs` is only available on C++11.
-
- 25 Jun, 2015 4 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Robert Bradshaw authored
-
- 23 Jun, 2015 2 commits
-
-
scoder authored
fix binary search in code object cache
-
Stefan Behnel authored
-