Message212880
> it wasn't an accident, it was designed so modulo arithmetic could reasonably be implemented for time() objects (which hasn't been demanded or implemented since the datetime module was created)
Ah, interesting. I just wrote a program last month where I was baffled that time didn't support arithmetic, and had to dodge painfully through datetime instances to do the arithmetic. I asked about it on IRC and someone said it was because arithmetic on times was ambiguous because of timezones, and I just accepted that rather than wonder why it hadn't been implemented.
Otherwise I'm pretty sympathetic to the RFE, but I'd really like time arithmetic to work, so I guess I'd have to be -1 in that case, wouldn't I? |
|
Date |
User |
Action |
Args |
2014-03-07 15:12:54 | r.david.murray | set | recipients:
+ r.david.murray, lemburg, tim.peters, skip.montanaro, georg.brandl, ncoghlan, belopolsky, pitrou, eric.araujo, alex, cvrebert, ethan.furman, gwrtheyrn, Lakin.Wecker, yselivanov, shai, dstufft, Andreas.Pelme, Amber.Yust, Hanxue.Lee |
2014-03-07 15:12:54 | r.david.murray | set | messageid: <1394205174.25.0.608199748105.issue13936@psf.upfronthosting.co.za> |
2014-03-07 15:12:54 | r.david.murray | link | issue13936 messages |
2014-03-07 15:12:53 | r.david.murray | create | |
|