[Python-ideas] Fast sum() for non-numbers

Ron Adam ron3200 at gmail.com
Mon Jul 8 23:58:22 CEST 2013



On 07/08/2013 03:22 PM, Sergey wrote:
>>> >>(It's certainly unusual for python's “batteries included” philosophy).
>> >
>> >What does "batteries included" have to do with excluding data types?
> Excluding data types? What do you mean?
>
> I wasn't sure what you meant when you said about problems with linked
> lists, so I was thinking that you mean something like "if one day
> linked lists get their way into python standard libraries and people
> will try using sum() on them..." That's why I said that such
> implementation would be too skimped.

We need to keep in mind how python programmer will use the tools, 
"Batteries", we add to the library.

Python programmers do currently write programs with linked lists.  And they 
use what ever is in the library they think is useful... the whole point of 
"batteries included".

-Ron



More information about the Python-ideas mailing list