[issue8353] Negative exponentiation behaving oddly in python shell

Chris Ward report at bugs.python.org
Fri Apr 9 08:38:58 CEST 2010


Chris Ward <cwardusc at gmail.com> added the comment:

Thanks for clearing that up and pointing me in the right direction. I should have tested print first. The assumption was based on the evaluation of (-4) ** 2 within an expression, which does return correctly. I hadn't made the distinction that the parentheses made it evaluate differently by containing the unary.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8353>
_______________________________________


More information about the Python-bugs-list mailing list