[Python-Dev] [Python-3000] Iterable String Redux (aka StringABC) (original) (raw)

Raymond Hettinger python at rcn.com
Wed May 28 00:54:20 CEST 2008


"Jim Jewett"

It isn't really stringiness that matters, it is that you have to terminate even though you still have an iterable container.

Well said.

Guido had at least a start in Searchable, back when ABC were still in the sandbox:

Have to disagree here. An object cannot know in general whether a flattener wants to split it or not. That is an application dependent decision. A better answer is be able to tell the flattener what should be considered atomic in a given circumstance.

Raymond



More information about the Python-Dev mailing list