On Mon, 30 Jul 2007 06:32:55 -0400, Steve Holden wrote:

>  >>> [x for x in xrange(0, 101)] == [y for y in xrange(101)]
> True

First I thought: Why the unnecessary list comprehension but to my surprise:

In [33]: xrange(42) == xrange(42)
Out[33]: False

That's strange.

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to