This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients belopolsky, martin.panter, musically_ut, serhiy.storchaka, vstinner
Date 2017-06-27.15:34:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498577680.36.0.707409368127.issue30302@psf.upfronthosting.co.za>
In-reply-to
Content
> 2. Factor out the negative sign: -timedelta(seconds=60) rather than timedelta(days=-1, seconds=86340).

Please don't do that. repr() is designed for developers, not end users. Don't make repr() implementation overcomplicated. Just dump raw data, tha's all.

If you want something more smart, use str() or even write a *new* method?
History
Date User Action Args
2017-06-27 15:34:40vstinnersetrecipients: + vstinner, belopolsky, martin.panter, serhiy.storchaka, musically_ut
2017-06-27 15:34:40vstinnersetmessageid: <1498577680.36.0.707409368127.issue30302@psf.upfronthosting.co.za>
2017-06-27 15:34:40vstinnerlinkissue30302 messages
2017-06-27 15:34:40vstinnercreate