Serhiy Storchaka added the comment: 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. ---------- nosy: +belopolsky, serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30302> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com