This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve21
Recipients LambertDW, rhettinger, steve21
Date 2009-01-27.03:56:58
SpamBayes Score 2.1641999e-07
Marked as misclassified No
Message-id <1233028621.62.0.725226010085.issue5032@psf.upfronthosting.co.za>
In-reply-to
Content
I already use the second version of the count function you give (without
default arguments which I am not a big fan of). I'm not saying its
difficult or unreadable to bypass itertools.count and write your own
enhanced count function. But if I use a custom count function, you use a
custom count function, and possibly many others too, then there could be
a common requirement for a step argument and it might be a good idea too
make it more widely available. 

Haskell has a powerful and concise list notation, some of which Python
has already borrowed from:
multiple3 = [3,6..]
History
Date User Action Args
2009-01-27 03:57:01steve21setrecipients: + steve21, rhettinger, LambertDW
2009-01-27 03:57:01steve21setmessageid: <1233028621.62.0.725226010085.issue5032@psf.upfronthosting.co.za>
2009-01-27 03:56:59steve21linkissue5032 messages
2009-01-27 03:56:59steve21create