Message 66688 - Python tracker
On Sun, May 11, 2008 at 6:38 PM, Gregory P. Smith <report@bugs.python.org> wrote: .. > But I must've missed something, why can't __len__ return the correct > value? The problem is the C signature of the sq_length slot: typedef Py_ssize_t (*lenfunc)(PyObject *);