Message9835

Author alex.gronholm
Recipients alex.gronholm, nneonneo, santa4nt
Date 2015-04-14.14:20:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429021255.98.0.21376083209.issue2171@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the patch!

__builtin__.pow() provides the builtin pow() function, while PyInteger.__pow__() provides the specific implementation for PyInteger, so both are needed.

I applied your patch with one change worthy of notice: (10).__pow__(10L, None) returns NotImplemented on CPython 2.7.9 as well as Jython so I dropped the test for that.
History
Date User Action Args
2015-04-14 14:20:55alex.gronholmsetmessageid: <1429021255.98.0.21376083209.issue2171@psf.upfronthosting.co.za>
2015-04-14 14:20:55alex.gronholmsetrecipients: + alex.gronholm, santa4nt, nneonneo
2015-04-14 14:20:55alex.gronholmlinkissue2171 messages
2015-04-14 14:20:55alex.gronholmcreate