Message 72153 - Python tracker (original) (raw)

That is not wanted. We had a discussion on the list about changing the return value of the sq_length slot to allow larger lengths to be reported, and while I don't recall why this wasn't done, I do recall that the consensus was that if Py_ssize_t remains, len() should raise rather than lie for larger values-