Bug in __imul__
Alex Martelli
aleaxit at yahoo.com
Wed Jul 11 08:55:22 EDT 2001
"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
Can't speak for others, but personally I would be
more than bothered (I'd be *astonished* as well as
*flabbergasted*) if augmented assignment operators
weren't lower-priority than all ordinary binary
operators.
Alex
More information about the Python-list
mailing list