[Numpy-discussion] ScientificPython with NumPy
Travis Oliphant
oliphant at ee.byu.edu
Tue Nov 28 18:09:01 CST 2006
konrad.hinsen at laposte.net wrote:
>On 24.11.2006, at 19:04, konrad.hinsen at laposte.net wrote:
>
>
>
>>Those who would like to test-drive ScientificPython with NumPy can do
>>so now: just download version 2.7.1 from
>>
>> http://sourcesup.cru.fr/
>>
>>
>
>Version 2.7.2 now, after the first bug fix: it wouldn't compile with
>NumPy and Python < 2.5, because both NumPy and ScientificPython
>define Py_ssize_t. There doesn't seem to be a nice solution for that
>problem, unfortunately.
>
>
You can
#define PY_SSIZE_T_MIN INT_MIN
#define PY_SSIZE_T_MAX INT_MAX
before including the NumPy header file and it will by-pass the typedef
for Py_ssize_t.
-Travis
More information about the Numpy-discussion
mailing list