Alexander Belopolsky <[EMAIL PROTECTED]> added the comment:

On Sun, May 11, 2008 at 6:38 PM, Gregory P. Smith
<[EMAIL PROTECTED]> 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 *);

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2723>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to