Benjamin Peterson <benja...@python.org> added the comment: 2011/4/1 Raymond Hettinger <rep...@bugs.python.org>: > [benjamin] > The __length_hint__ protocol is a public API, so anyone can use it. Also, > the issue is a broader than __length_hint__, it is really distinguishing > multiple possible meanings for a TypeError raised by a call to __len__.
What?? I certainly hope not. I thought it was supposed to be a performance hack. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11674> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com