[issue6305] islice doesn't accept large stop values

2009-06-18 Thread Thomas Guest
New submission from Thomas Guest : Python 3.0 (r30:67503, Jan 7 2009, 16:22:01) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin >>> from itertools import islice, count >>> islice(count(), (1<<31) - 1) >>> islice(count(), (1<<31)) Traceback (mo

[issue5477] Typo in itertools documentation

2009-03-11 Thread Thomas Guest
New submission from Thomas Guest : http://docs.python.org/3.0/library/itertools.html says: > The tools also work well with the high-speed functions in the operator module. For example, the plus-operator can be mapped across two vectors to form an efficient dot-product: sum(map(operator.