A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-May/053973.html below:

[Python-Dev] Adventures with Decimal

[Python-Dev] Adventures with Decimal [Python-Dev] Adventures with DecimalRaymond Hettinger raymond.hettinger at verizon.net
Sat May 21 03:56:28 CEST 2005
[Guido]
> > You know that, but Raymond seems confused.  From one of his posts
(point
> (k)):

[Raymond]
> > "Throughout the implementation, the code calls the Decimal
> > constructor to create intermediate values.  Every one of those calls
> > would need to be changed to specify a context."

[Facundo]
> The point here, I think, is that intermediate Decimal objects are
> created, and the whole module assumes that the context does not affect
> that intermediate values. If you change this and start using the
> context at Decimal creation time, you'll have to be aware of that in a
> lot of parts of the code.
> 
> OTOH, you can change that and run the test cases, and see how bad it
> explodes (or not, ;).

Bingo!

That is point (k) from the big missive.


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