sum and strings

Gabriel Genellina gagsl-py at yahoo.com.ar
Thu Aug 24 12:40:57 EDT 2006


At Thursday 24/8/2006 13:12, Tim Chase wrote:

>The interpreter is clearly smart enough to recognize when the
>condition occurs such that it can throw the error...thus, why not
>add a few more smarts and have it simply translate it into
>"start+''.join(sequence)" to maintain predictable behavior
>according to duck-typing?

sequences don't have to be homogeneous, and iterators cant go back.
But let GvR say that in his own words: 
http://mail.python.org/pipermail/python-dev/2003-April/034854.html



Gabriel Genellina
Softlab SRL 


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas




More information about the Python-list mailing list