Robert wrote:
> On May 14, 2009, at 1:42 AM, Dag Sverre Seljebotn wrote:
>
>> What's the best way of increasing the warning level from a distutils
>> setup.py?
>
> Not sure, perhaps you can actually set the relevant module-level
> variable.

I suppose we should just make a directive for warnings at some point; I'll
leave the issue until then.

>> (Just wasted an hour over doing
>>
>> <double*>arr.data
>>
>> when arr was typed as object instead of ndarray. Never again!)
>
> Ouch.
>
> Is there any reason to even allow this (other than to be backwards
> compatible with broken code). I think we should allow object <-->
> void*, or object <--> PyObject*, but no others. (One would then be
> forced to do <double*><void*>arr.data if one *really* wanted to.)

Excellent idea!; and as you say should not break code. I'll do this for
0.11.2.

Thanks a lot for the complex support; I'll check it out and add buffer
support later today.

Dag Sverre

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to