Stefan Behnel, 05.12.2009 13:16:
> I just noticed that this is also broken:
> 
>     cdef class cclass:
>          def test(*args):
>              pass
> 
> but it looks like it was already broken before my changes.

Pyrex suffers from the same problem:

$ python ./bin/pyrexc cdef_methods_T462.pyx
[...]
.../cdef_methods_T462.pyx:26:4: Method test_args has wrong number of
arguments (0 declared, 1 or more expected)
.../cdef_methods_T462.pyx:33:4: Method test_args_kwargs has wrong number of
arguments (0 declared, 1 or more expected)

Stefan

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

Reply via email to