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/2004-April/044354.html below:

[Python-Dev] Re: Decimal data type issues

[Python-Dev] Re: Decimal data type issues [Python-Dev] Re: Decimal data type issuesAahz aahz at pythoncraft.com
Sat Apr 17 10:09:51 EDT 2004
On Fri, Apr 16, 2004, Batista, Facundo wrote:
>
> We all must decide which of the following is better:
> 
>   a) Decimal(number)     # no context used
>      Decimal(number, context)
> 
>   b) Decimal(number)     # no context used
>      Decimal.using_context(number, context)

Based on my reading of Tim's posts, there's also

    c) Decimal(number, [context])   # context always used, with 
                                    # optional different from default
-- 
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

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