Hagen Fürstenau <[EMAIL PROTECTED]> added the comment:

Sounds ok, but then you get a more generic "object cannot be interpreted
as an integer" at the point where len() is called, instead of the
clearer "__len__() should return an int". I'm not sure if this could be
confusing.

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

Reply via email to