On Tue, Sep 8, 2015 at 3:59 AM, Alexander Belopolsky < [email protected]> wrote:
> On Mon, Sep 7, 2015 at 9:57 PM, Alexander Belopolsky < > [email protected]> wrote: > >> Solution 1: Make t1 > t0. >> >> Solution 2: Leave t1 == t0, but make t1 != u1. >> > > Solution 3: Leave t1 == t0, but make *both* t0 != u0 and t1 != u1 if > t0.utcoffset() != t1.utcoffset(). I've implemented [1] Solution 3 in my Github fork. [1]: https://github.com/abalkin/cpython/commit/aac301abe89cad2d65633df98764e5b5704f7629
_______________________________________________ Datetime-SIG mailing list [email protected] https://mail.python.org/mailman/listinfo/datetime-sig The PSF Code of Conduct applies to this mailing list: https://www.python.org/psf/codeofconduct/
