[Python-Dev] Backport new float repr to Python 2.7?

Guido van Rossum guido at python.org
Mon Oct 12 21:09:36 CEST 2009


On Mon, Oct 12, 2009 at 11:54 AM, Mark Dickinson <dickinsm at gmail.com> wrote:
> On Mon, Oct 12, 2009 at 7:48 PM, Guido van Rossum <guido at python.org> wrote:
>> On Mon, Oct 12, 2009 at 11:41 AM, Mark Dickinson <dickinsm at gmail.com> wrote:
>>> But str still has some value in py3k:  it protects users from
>>> accumulated rounded errors produced by arithmetic operations:
>> [...]
>>
>> I know, but this is much more questionable now. [...]
>
> Would it be out of the question to make str = repr in 3.2, do you think?

I don't think it is out of the question. (Though it would probably
break a few more doctests.)

I'd like to hear other voices.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list