Re: [Datetime-SIG] Another round on error-checking
31 Aug
2015
31 Aug
'15
4:24 p.m.
On Mon, Aug 31, 2015 at 4:17 PM, Tim Peters <tim.peters@gmail.com> wrote:
The easiest way out of this particular puzzle is, I believe, to say that two datetimes identical except for `fold` do _not_ compare equal. `fold` breaks the tie in the obvious way (the one with fold==1 is "greater").
I am afraid you are right, but proving that we will not break naive (fold unaware) programs will be harder in this case. Let me think some more about this. Meanwhile, would you see any problem with not(x - y) not implying x == y?
3384
Age (days ago)
3384
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexander Belopolsky