[Cython] On GetBuffer/ReleaseBuffer (attn: Stefan)

Robert Bradshaw robertwb at math.washington.edu
Wed Jul 30 03:45:44 CEST 2008


On Jul 29, 2008, at 5:28 PM, Greg Ewing wrote:

> Dag Sverre Seljebotn wrote:
>
>> So ideally one would raise a compiler error if there
>> was a chance that an exception would be propagated from ReleaseBuffer
>
> I think it would be better to insert a call to
> Pyx_WriteUnraisable in that case.

I am of the same opinion--though I like the idea of a warning every  
time Pyx_WriteUnraisable is needed.

- Robert



More information about the Cython-dev mailing list