On Wed, Apr 30, 2008 at 3:49 PM, Greg Ewing <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote: > > > I would like to see the following: > > > > - sq_length should return maxsize if the actual value doesn't fit > > > > So that code will silently behave as though the rest of > the sequence wasn't there some of the time?
Only if it uses LBYL. > Can you elaborate on the rationale for this? I'm having > trouble seeing how it's a good idea. Ask the designers of the Java collections package. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com