[issue19171] pow() improvement on longs

Tim Peters report at bugs.python.org
Tue Oct 8 20:47:28 CEST 2013


Tim Peters added the comment:

I'm glad you pointed it out, Mark!  You're right about unintended consequences, and I confess I didn't think at all about the exponent == 0 case.

I didn't remind myself that 2.7 was a bugfix branch either:  I read Armin's "(which can be applied on both trunk and 2.7)" and reflexively checked it in.

I'd _say_ I'd be more careful about that in the future, but since I still use 2.7.5 for most of my private work I wouldn't believe me either ;-)

----------

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


More information about the Python-bugs-list mailing list