A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-August/068535.html below:

[Python-Dev] Py2.5 issue: decimal context manager misimplemented, misdesigned, and misdocumented

[Python-Dev] Py2.5 issue: decimal context manager misimplemented, misdesigned, and misdocumentedRaymond Hettinger rhettinger at ewtllc.com
Wed Aug 30 02:51:13 CEST 2006
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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4