Bug in __imul__

Bill Bell bill-bell at bill-bell.hamilton.on.ca
Wed Jul 11 12:54:27 EDT 2001


Roman Suzi <rnd at onego.ru> wrote, in part:
> >"Emile van Sebille" <emile at fenx.com> wrote in message
> >news:9ihg33$irjha$1 at ID-11957.news.dfncis.de...
> >> Does it bother anyone that
> >> a *= 3 + 4
> >> returns a different value from
> >> a = a * 3 + 4
> 
> By this example I conclude that infix notation is seriously flawed
> compared to prefix or postfix (called Polish and inverted Polish).
<SNIP>
> What? This is inconsistent with math notation? Who cares to know it
> these days! You do not need to be rocket scientist (or any scientists
> at all) to write simple arithmetics!

Good one, Roman! LedOL. All I can say is that you ~belong~ on 
this list composed mostly of eggheads. :o) Those of us with IQs of 
120 (or perhaps somewhat less) just use parens when we find that 
we're again becoming hopelessly confused.




More information about the Python-list mailing list