> But, as another practical example: "sum" in Python works for numbers, but I've seen folks assume that it works for anything that you can use + on, and so try and use strings with it.
I don't know python very well, but aren't string special cased? It does work with lists.
I don't know python very well, but aren't string special cased? It does work with lists.