itertools to iter transition (WAS: Pre-PEP: Dictionary accumulator methods)
Ville Vainio
ville at spammers.com
Wed Mar 30 05:53:22 EST 2005
>>>>> "Steven" == Steven Bethard <steven.bethard at gmail.com> writes:
Steven> Certainly a valid point. How would you feel about adding
Steven> just a select few itertools functions, perhaps just
Steven> islice, chain and tee?
A minimal set would not be that offensive, yes. But then we would have
two places to look for itertools functionality, which may not be
desirable.
One thing that might be worth keeping in mind is that some of
itertools functionality is going to become obsolete come py3k
(izip->zip), and some is already (imap). At least such operations
should not be dumped into the builtin iter.
--
Ville Vainio http://tinyurl.com/2prnb
More information about the Python-list
mailing list