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 skrah
Recipients mark.dickinson, skrah
Date 2009-10-03.22:36:56
SpamBayes Score 0.0010504634
Marked as misclassified No
Message-id <1254609417.64.0.698028290241.issue7049@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think early abortion based on m and the current precision is a
good idea. Then we have the situation that this works (prec=4):

(Decimal(7) ** 2) % 100000

But this does not:

pow(Decimal(7), 2, 100000)
History
Date User Action Args
2009-10-03 22:36:57skrahsetrecipients: + skrah, mark.dickinson
2009-10-03 22:36:57skrahsetmessageid: <1254609417.64.0.698028290241.issue7049@psf.upfronthosting.co.za>
2009-10-03 22:36:56skrahlinkissue7049 messages
2009-10-03 22:36:56skrahcreate