Stefan Krah <stefan-use...@bytereef.org> added the comment: 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) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7049> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com