Sep-27-2018, 09:30 PM
(Sep-27-2018, 08:27 PM)Skaperen Wrote: i assume __add__ came first, probably from GvR as part of the original design before the simplification of iterators. and __iadd__ came later, after the simplification of iterators and __add__ hasn't been updated, yet, to have consistency. maybe in Python4? maybe in some other implementation?
Er, huh? You can overide if you like. Seems consistent to me though. Changing the standard implementation of __add__ would cause a lot of problems I suspect.
I am trying to help you, really, even if it doesn't always seem that way