[Python-Dev] Possible addition to itertools

Aahz aahz at pythoncraft.com
Tue Jun 22 09:14:53 EDT 2004


On Wed, Jun 16, 2004, Scott David Daniels wrote:
>
> One feature that I'd find nice in itertools is access to "universal
> newlines" behavior.  This would make it much easier to extend zipfile
> and other compression-related code to provide pseudo-files that iterate
> properly.

That's a great idea, but I don't think it belongs in itertools.  If/when
we create the semi-mythical text/string package, it should go there.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Typing is cheap.  Thinking is expensive."  --Roy Smith, c.l.py



More information about the Python-Dev mailing list