On Feb 7, 2018 1:54 PM, "Neil Girdhar" <mistersh...@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:

https://bugs.python.org/issue32630

-n
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to