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/044498.html below:

[Python-Dev] Re: Decimal data type issues

[Python-Dev] Re: Decimal data type issues [Python-Dev] Re: Decimal data type issuesTim Peters tim.one at comcast.net
Wed Apr 21 13:12:07 EDT 2004
[Jewett, Jim J]
> ...
> Is there any reason why input and output should be the only
> operations that do not honor an optional local context?

While all operations in the spec except for the two to-string operations use
context, no operations in the spec support an optional local context.  That
the Decimal() constructor ignores context by default is an extension to the
spec.  We must supply a context-honoring from-string operation to meet the
spec.  I recommend against any concept of "local context" in any
operation -- it complicates the model and isn't necessary.  Piles of
"convenience features" should wait until people actually use this in real
life, so can judge what's truly clumsy based on experience instead of
speculation.


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