2**2**2**2**2 wrong? Bug?
Wed Jul 11 23:17:30 CEST 2007
"Evan Klitzke" <evan at yelp.com> writes:
> Python happens to choose right
> associativity for exponentiation because it is more useful for that
> operator, but that doesn't make the language itself right associative.
I would say Python uses right associativity for exponentiation because
that's standard mathematical convention, and any languages that do it
differently (if they use operator precedence at all) get it wrong.
More information about the Python-list