This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients christian.heimes, gregory.p.smith, mark.dickinson, tim.peters, trevp
Date 2009-12-29.21:07:10
SpamBayes Score 7.2346875e-09
Marked as misclassified No
Message-id <1262120832.9.0.0870093146522.issue936813@psf.upfronthosting.co.za>
In-reply-to
Content
This patch still(!) applies almost perfectly cleanly to trunk.  On a 64-
bit machine, I'm getting a failure in test_auto_overflow, coming from:

>>> pow(0L, 0, 9223372036854775807)
28051505152L

I haven't looked hard to figure out where this is coming from, but my 
guess is that the 15-bitness of digits is hard-coded in the patch 
somewhere.

My general feeling is that three-argument pow is such a little-used 
operation in Python that it's not worth the extra code to speed it up.
History
Date User Action Args
2009-12-29 21:07:13mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, gregory.p.smith, trevp, christian.heimes
2009-12-29 21:07:12mark.dickinsonsetmessageid: <1262120832.9.0.0870093146522.issue936813@psf.upfronthosting.co.za>
2009-12-29 21:07:11mark.dickinsonlinkissue936813 messages
2009-12-29 21:07:10mark.dickinsoncreate