[Python-Dev] Iterable String Redux (aka String ABC)

Greg Ewing greg.ewing at canterbury.ac.nz
Fri May 30 00:30:45 CEST 2008


Mike Klaas wrote:

> I agree that it would be perverse to disallowing iterating over a  
> string. 

Just to be clear, I'm saying that it would be perverse
to disallow iterating *but* to allow indexing of
individual characters. Either you should have both or you
should have neither.

-- 
Greg


More information about the Python-Dev mailing list