Raymond Hettinger wrote:

>I would like to see the changes to the decimal module reverted for the 
>Py2.5 release.
>
>Currently, the code in the decimal module implements the context manager 
>as a separate class instead of incorporating it directly in 
>decimal.Context. 
>  
>

That should read "... as a separate class instantiated by a brand-new 
Context method instead of implementing it as a module level function as 
shown in section 9 of PEP343".

The API in PEP343 is much cleaner.  Also, it doesn't have the copy vs 
reference bug.



Raymond

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to