itertools to iter transition (WAS: Pre-PEP: Dictionary accumulator methods)

Ville Vainio ville at spammers.com
Tue Mar 29 04:38:42 EST 2005


>>>>> "Raymond" == Raymond Hettinger <vze4rx4y at verizon.net> writes:

    Raymond> If the experience works out, then all you're left with is
    Raymond> the trivial matter of convincing Guido that function
    Raymond> attributes are a sure cure for the burden of typing
    Raymond> import statements.

For one thing, it would make it harder to find the functions from the
docs. It's easy to find the doc for 'itertools', but iter object
methods would require browsing that infamous Chapter 2 of the
documentation...

Apart from that, I don't really see the advantage in moving away from
itertools.

-- 
Ville Vainio   http://tinyurl.com/2prnb



More information about the Python-list mailing list