[Python-ideas] Consider making Decimal's context use PEP 567

Nathaniel Smith njs at pobox.com
Wed Feb 7 17:32:21 EST 2018

On Feb 7, 2018 1:54 PM, "Neil Girdhar" <mistersheik at gmail.com> wrote:

Decimal could just pull its Context object from a context variable rather
than having to pass it in to all functions.  This would be similar to how
numpy works.

Decimal has always used a thread local context the same way numpy does, and
in 3.7 it's switching to use a PEP 567 context:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180207/983b5483/attachment.html>

More information about the Python-ideas mailing list