[Python-3000] Builtin iterator type
George Sakkis
gsakkis at rutgers.edu
Tue Nov 14 19:06:33 CET 2006
On 11/14/06, Fredrik Lundh <fredrik at pythonware.com> wrote:
> Uhuh. And why would this more important than adding, say, Array,
> AtExit, Bz2, Cgi, CgiTB, Cmath, Code, Codecs, Collections, Copy, Csv,
> DateTime, Decimal, ElementTree, ErrNo, Ftplib, Gc, GetOpt, GetText,
> Glob, Gzip, HashLib, HMac, Inspect, Locale, Logging, Marshal, Math,
> Mmap, Operator, Os, OsPath, Pickle, Platform, Random, Re, Select,
> ShUtil, SmtpLib, Socket, Struct, SubProcess, Sys, TempFile, Threading,
> Time, Traceback, UnicodeData, UrlLib, UrlLib2, UrlParse, Warnings,
> WeakRef, XmlDom, XmlSax, ZipFile, or Zlib builtins? Most of these are
> definitely used a lot more often than itertools in typical Python
> programs...
>
> </F>
I understand you are exaggerating (can't believe you are seriously
claiming that cmath or traceback are more frequently used than
itertools), but if your objection is on adding yet another builtin,
what would be the objection to boosting up the existing iter() to
provide this extra functionality ? This might even be backwards
compatible (but even if it's not, that's not a main concern for
py-3k).
George
More information about the Python-3000
mailing list