[Python-Dev] Single- vs. Multi-pass iterability

Clark C . Evans cce@clarkevans.com
Thu, 18 Jul 2002 10:06:31 -0400


On Wed, Jul 17, 2002 at 02:58:55PM -0500, Ka-Ping Yee wrote:
| But i think this is more than a minor problem.  This is a
| namespace collision problem, and that's significant.  Naming
| the method "next" means that any object with a "next" method
| cannot be adapted to support the iterator protocol.  Unfortunately
| "next" is a pretty common word and it's quite possible that such
| a method name is already in use.

Ping,

Do you have any suggestions for re-wording the Iterator questionare
at http://yaml.org/wk/survey?id=pyiter to reflect this paragraph above?

Best,

Clark

-- 
Clark C. Evans                   Axista, Inc.
http://www.axista.com            800.926.5525
XCOLLA Collaborative Project Management Software