A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-December/142564.html below:

[Python-Dev] Change the repr for datetime.timedelta (was Re: Asynchronous context manager in a typical network server)

[Python-Dev] Change the repr for datetime.timedelta (was Re: Asynchronous context manager in a typical network server) [Python-Dev] Change the repr for datetime.timedelta (was Re: Asynchronous context manager in a typical network server)Tim Peters tim.peters at gmail.com
Sun Dec 20 22:35:06 EST 2015
[Tim]
>> 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.

[Alex]
> Note that in the case of float repr, the consideration of user convenience
> did win over "reflect documented internals as directly as possible."

?  Nothing is documented about float internals, beyond "whatever a
platform C double is" in CPython.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4