I can't seem to get optional arguments for a char variable to work in a cdef
function, is this a bug or am I missing something simple? Any help would, as
always, be greatly appreciated.

For example:

    cdef void test_args(int number, char letter='C'):
        print letter

    def test():
        test_args(3, letter='F')
    

Gives a cryptic compile compile error (It doesn't work with c'F' either).

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

Reply via email to