Stefan Krah <ste...@bytereef.org> added the comment:
And indeed, with the new decimal MAX_PREC feature, you should see the misguided diagnostic as well on OS X: >>> from decimal import * >>> >>> c = getcontext() >>> c.prec = MAX_PREC >>> Decimal(4).sqrt() Decimal('2') >>> So it is real code, but extremely rarely used. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40928> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com