[Python-ideas] copyable iterators, named loops, continue a expression per indentation and a few functional things
Florian Weimer
fw at deneb.enyo.de
Sat Dec 23 18:59:53 CET 2006
* Mathias Panzenböck:
>>>> f = F()
>>>> g = G()
>>>> (f + g)("x")
> 'x bar foo'
>>>> (g + f)("x")
> 'x foo bar'
I would expect that (f + g)(x) == f(x) + g(x). Using "+" for a
non-commutative operation doesn't seem right.
More information about the Python-ideas
mailing list