Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:
I would not be happy with unlinking __pow__ from the standard's power operation. We wouldn't be doing our users a favor by implementing part of the standard, then tucking it away in a unexpected place, and substituting our own notion of what should be done. >From the outset, one of the reasons for buying into the standard was the >notion that the interactions had been well thought-out and heavily discussed >in another forum. By agreeing to implement the standard, we have surrendered >ourselves to the tyranny of whatever decisions were made. Another reason for >staying compliant (in the most obvious way possible) is to make formulas more >interoperable between languages that have chosen to implement the standard >(i.e. 0**0 should do the same thing in Rexx as it does in Python). ---------- nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7754> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com