Message293213
| 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:32 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, belopolsky, musically_ut |
| 2017年05月07日 20:15:32 | serhiy.storchaka | set | messageid: <1494188132.45.0.711267047066.issue30302@psf.upfronthosting.co.za> |
| 2017年05月07日 20:15:32 | serhiy.storchaka | link | issue30302 messages |
| 2017年05月07日 20:15:32 | serhiy.storchaka | create |
|