itertools.count() as built-in
Raymond Hettinger
python at rcn.com
Mon May 29 15:15:32 EDT 2006
jantod at gmail.com wrote:
> Is there any chance of itertools.count() ever becoming one of the
> built-in functions?
That's unlikely. The goal is to have fewer builtins rather than more.
Utility and frequency are not the only considerations; otherwise
glob.glob, sys.stderr, print.pprint, copy.copy, and many others would
also be candidates.
> It's a wonderful little function and I find myself
> importing it in every module I write.
I'm glad you find it so useful.
Raymond
More information about the Python-list
mailing list