[Python-Dev] Proposal: make float.__str__ identical to float__repr__ in Python 3.2
Łukasz Langa
lukasz at langa.pl
Thu Jul 29 20:54:32 CEST 2010
Wiadomość napisana przez Mark Dickinson w dniu 2010-07-29, o godz. 20:47:
> Now that we've got the short float repr in Python, there's less value
> in having float.__str__ truncate to 12 significant digits (as it
> currently does). For Python 3.2, I propose making float.__str__ use
> the same algorithm as float.__repr__ for its output (and similarly for
> complex).
>
> Any thoughts or comments on this?
+1
--
Best regards,
Łukasz Langa
tel. +48 791 080 144
WWW http://lukasz.langa.pl/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100729/8f13d147/attachment.html>
More information about the Python-Dev
mailing list