On Wed, Jul 7, 2010 at 8:22 AM, Chuck Blake wrote:
> The code generated by the following compiles without error but then
> tries to INCREF a null pointer for x (all for closures branch tip):
>
> cdef f(x): # def here => works fine
> def g(y): return y*x # cdef here => co
The code generated by the following compiles without error but then
tries to INCREF a null pointer for x (all for closures branch tip):
cdef f(x):# def here => works fine
def g(y): return y*x # cdef here => compile error
return g(x) # faults@ INCREF(