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 remi.lapeyre, ronaldoussoren, skrah, vstinner
Date 2020-06-10.14:15:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591798507.86.0.0818691733718.issue40928@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-06-10 14:15:07skrahsetrecipients: + skrah, ronaldoussoren, vstinner, remi.lapeyre
2020-06-10 14:15:07skrahsetmessageid: <1591798507.86.0.0818691733718.issue40928@roundup.psfhosted.org>
2020-06-10 14:15:07skrahlinkissue40928 messages
2020-06-10 14:15:07skrahcreate