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 serhiy.storchaka
Recipients belopolsky, musically_ut, serhiy.storchaka
Date 2017-05-07.20:15:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494188132.45.0.711267047066.issue30302@psf.upfronthosting.co.za>
In-reply-to
Content
The drawback is that this change increases the length of the repr. If you output few values in a row (for example output the repr of a list of timedeltas), this makes the output less readable.

Users of datetime.timedelta know what arguments mean. If they don't know they always can look in the documentation or builtin help.

datetime.datetime has more arguments, and its repr doesn't use keywords.
History
Date User Action Args
2017-05-07 20:15:32serhiy.storchakasetrecipients: + serhiy.storchaka, belopolsky, musically_ut
2017-05-07 20:15:32serhiy.storchakasetmessageid: <1494188132.45.0.711267047066.issue30302@psf.upfronthosting.co.za>
2017-05-07 20:15:32serhiy.storchakalinkissue30302 messages
2017-05-07 20:15:32serhiy.storchakacreate