On Sun, Dec 20, 2015 at 10:25 PM, Tim Peters <tim.pet...@gmail.com> wrote:

> For
>
> >>> print(timedelta(minutes=-1))
>
> I'd like to see:
>
> -00:01:00
>
> But I wouldn't change repr() - the internal representation is fully
> documented, and it's appropriate for repr() to reflect documented
> internals as directly as possible.
>

Note that in the case of float repr, the consideration of user convenience
did win over "reflect documented
internals as directly as possible."
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to