[Python-Dev] Decimal data type issues

Aahz aahz at pythoncraft.com
Thu Apr 15 10:34:27 EDT 2004


On Thu, Apr 15, 2004, Batista, Facundo wrote:
>
> Remember that you have one context per thread.  All the decimal
> instances in a thread share the same context.  This was specified by
> Aahz, the list agreed, and get into the PEP. Do you want to change it?

Correction for precision: all Decimal operations in a thread use the
same context until the context is changed.  Threads inherit context from
their starting thread (I think).
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"I used to have a .sig but I found it impossible to please everyone..."  --SFJ



More information about the Python-Dev mailing list