Re: itertools.count(-3)

2006-09-21 Thread Jack Diederich
On Thu, Sep 21, 2006 at 08:29:11AM -0700, Carl Banks wrote: > > [EMAIL PROTECTED] wrote: > > itertools.count docs say: > > Does not currently support python long integers. > > Note, count() does not check for overflow and will return negative > > numbers after exceeding sys.maxint. This behavior m

Re: itertools.count(-3)

2006-09-21 Thread Carl Banks
[EMAIL PROTECTED] wrote: > itertools.count docs say: > Does not currently support python long integers. > Note, count() does not check for overflow and will return negative > numbers after exceeding sys.maxint. This behavior may change in the > future. > > But it seems it doesn't support negative

itertools.count(-3)

2006-09-21 Thread bearophileHUGS
itertools.count docs say: Does not currently support python long integers. Note, count() does not check for overflow and will return negative numbers after exceeding sys.maxint. This behavior may change in the future. But it seems it doesn't support negative numbers too: >>> from itertools import