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

[Python-Dev] Decimal conversion to string

[Python-Dev] Decimal conversion to string [Python-Dev] Decimal conversion to stringAahz aahz at pythoncraft.com
Wed Apr 14 10:46:14 EDT 2004
On Tue, Apr 13, 2004, Ka-Ping Yee wrote:
>
> Could we please have repr(d) use the string in the constructor
> rather than the tuple form?  That would be much easier to read.

I'm not dead-set on using a tuple form, but I think it's more useful for
someone trying to see the internals of a Decimal instance.  The string
form already contains all the necessary information to reconstruct a
Decimal object (unlike floats).
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?

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