Benjamin Peterson <[EMAIL PROTECTED]> added the comment:

On Fri, May 2, 2008 at 5:46 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
>
>  Guido van Rossum <[EMAIL PROTECTED]> added the comment:
>
>  We need to look at more details why those fail.  Perhaps there's one
>  common place where this is used?  Did you add __length_hint__ yet?

I added __length_hint__ in the last patch.

Many of the failures are the result of failings in seq_tests.py.

As test_random points out, you can't pick a random integer from a set.

Some of these failures are also the result of removing range slicing.
(I'm not proposing we bring that back, though.)

Overall though, I think it's more practical to have a length
implementation that works in 99.78% cases than not and force people to
to convert it to a list first.

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

Reply via email to