On Wed, 04 Oct 2006 11:00:28 -0400, Leif K-Brooks <[EMAIL PROTECTED]> wrote: >Jorgen Grahn wrote: >> - infinite xrange()s > >itertools.count()?
Not quite: >>> import sys, itertools >>> c = itertools.count(sys.maxint) >>> c.next() 2147483647 >>> c.next() -2147483648 >>> Jean-Paul -- http://mail.python.org/mailman/listinfo/python-list