A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-June/045456.html below:

[Python-Dev] Possible addition to itertools

[Python-Dev] Possible addition to itertools [Python-Dev] Possible addition to itertoolsScott David Daniels Scott.Daniels at Acm.Org
Wed Jun 16 09:01:40 EDT 2004
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.

To try out a simple Python equivalent, look at:
     http://members.dsl-only.net/~daniels/ilines.html

If people think such code would be useful in itertools, I'd be happy to
add it as a patch.  If not, I'll provide it as a Cookbook recipe or
some such.

-- 
-- Scott David Daniels
Scott.Daniels at Acm.Org


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4