[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
More information about the Python-Dev mailing list
Sun Dec 20 22:35:06 EST 2015
- Previous message (by thread): [Python-Dev] Change the repr for datetime.timedelta (was Re: Asynchronous context manager in a typical network server)
- Next message (by thread): [Python-Dev] Change the repr for datetime.timedelta (was Re: Asynchronous context manager in a typical network server)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[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.
- Previous message (by thread): [Python-Dev] Change the repr for datetime.timedelta (was Re: Asynchronous context manager in a typical network server)
- Next message (by thread): [Python-Dev] Change the repr for datetime.timedelta (was Re: Asynchronous context manager in a typical network server)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list