Code like the following no longer works correctly:

cdef class Foo:
    def __init__(self):
        self.append(1)

    cdef append(self, x):
        return x

It seems that Cython now always assumes that append() is a special method: it incorrectly uses __Pyx_PyObject_Append.


PS: it's not really clear if bug reports like these should go on this mailing list or on Trac (my impression is that Cython's Trac is not really used). What's the recommended procedure?
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to