Message221909
| Author |
belopolsky |
| Recipients |
belopolsky, ezio.melotti, lemburg, r.david.murray, ronaldoussoren, techtonik |
| Date |
2014年06月29日.22:25:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1404080701.79.0.671456638082.issue8902@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I would like to bring this issue to some conclusion. Here is the summary:
Pro:
datetime.time.now() is shorter than datetime.datetime.now().time()
Cons:
1. date, time = datetime.date.today(), datetime.time.now() is attractive, but wrong.
2. time detached from date is a strange object with limited support in datetime module (no timedelta arithmetics, issue 17267; tzinfo issues; etc.)
3. No compelling use cases have been presented. |
|