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

Benjamin Peterson benjamin at python.org
Fri Jul 30 01:41:41 CEST 2010


2010/7/29 Raymond Hettinger <raymond.hettinger at gmail.com>:
>
>>> When you proposed the idea at EuroPython, it seemed reasonable
>>> but we didn't go into the pros and cons.  The downsides include
>>> breaking tests, changing the output of report generating scripts
>>> that aren't using string formatting, and it introduces another
>>> inter-version incompatibility.
>>
>> Yes, I agree that the change has potential for breakage;  it's a
>> change that probably would have been unacceptable for Python 2.7;  for
>> Python 3.2 I think there's a little more scope, since 3.x has fewer
>> users.
>
> +1 for making the change to 3.2
> +0 for 2.7

-1 for 2.7.


-- 
Regards,
Benjamin


More information about the Python-Dev mailing list