On 08/08/2014 05:34 PM, Raymond Hettinger wrote:

On Aug 8, 2014, at 11:09 AM, Ethan Furman <[email protected] 
<mailto:[email protected]>> wrote:

So why not apply a similar optimization to sum() for strings?

That I cannot answer -- I find the current situation with sum highly irritating.


It is only irritating if you are misusing sum().

Actually, I have an advanced degree in irritability -- perhaps you've noticed 
in the past?

I don't use sum at all, or at least very rarely, and it still irritates me. It feels like I'm being told I'm too dumb to figure out when I can safely use sum and when I can't.

--
~Ethan~
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to