Serhiy Storchaka added the comment: Unary minus has less priority than power operator. -5**4 is equal to -(5**4), not (-5)**4.
---------- nosy: +serhiy.storchaka resolution: -> not a bug status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23429> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com