[Python-Dev] Proposal: make float.__str__ identical to float__repr__ in Python 3.2

Guido van Rossum guido at python.org
Fri Jul 30 02:12:00 CEST 2010


On Thu, Jul 29, 2010 at 3:30 PM, Raymond Hettinger
<raymond.hettinger at gmail.com> wrote:
> It also really calls into question whether there are good
> reasons for other types to have a __str__ that is different
> than their __repr__.

Maybe, but there is tons of 3rd party code that uses this distinction.

-- 
--Guido van Rossum (python.org/~guido)


More information about the Python-Dev mailing list