Alexander Belopolsky added the comment:

I left a few minor comments on rietveld for the last patch.  I did not see code 
for time.now() and I don't think adding now() should be combined with time +/- 
timedelta patch.  Let's do one thing at a time.

I think time + timedelta addition is fairly uncontroversial.  In the past, I 
argued against using detached time objects, but it is not really a valid reason 
for rejecting a good feature.

On subtraction, if we add time - timedelta -> time, I think users would expect 
time - time -> timedelta as well.  This, however, is ambiguous if we stay with 
mod 24h arithmetic.  The ambiguity can be lifted by requiring days=0 in the 
result.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17267>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to