[Python-Dev] Proposal: make float.str identical to float__repr__ in Python 3.2 (original) (raw)
Łukasz Langa lukasz at langa.pl
Thu Jul 29 20:54:32 CEST 2010
- Previous message: [Python-Dev] Proposal: make float.__str__ identical to float__repr__ in Python 3.2
- Next message: [Python-Dev] Proposal: make float.__str__ identical to float__repr__ in Python 3.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [Python-Dev] Proposal: make float.__str__ identical to float__repr__ in Python 3.2
- Next message: [Python-Dev] Proposal: make float.__str__ identical to float__repr__ in Python 3.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]