[EMAIL PROTECTED] wrote:

>On 24.11.2006, at 19:04, [EMAIL PROTECTED] 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

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to