Vitja Makarov, 06.12.2010 19:09:
> I've update patch (just fixed typo, and added "first declared here" error)

Thanks. I'll just apply it for now.


> I think we should create ticket for cpdef issue.
>
> What the problem is:
>
> cpdef foo(): pass
> cpdef foo(): pass
>
> 1. declare pyfunction `foo` with allow_redefine=False
> 2. declare cfunction `foo`, overwriting entry
> 3. declare pyfunction `foo` with allow_redefine=False
> 3. declare cfunction `foo`, already overwrited
>
> So the problem actually is in declare_cfunction()

Yes, I think so, too. That's a different ticket.

Stefan
_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to