[Datetime-SIG] PEP 495: What's left to resolve
Alexander Belopolsky
alexander.belopolsky at gmail.com
Wed Sep 9 17:44:40 CEST 2015
On Tue, Sep 8, 2015 at 3:59 AM, Alexander Belopolsky <
alexander.belopolsky at gmail.com> wrote:
> On Mon, Sep 7, 2015 at 9:57 PM, Alexander Belopolsky <
> alexander.belopolsky at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20150909/9682704c/attachment.html>
More information about the Datetime-SIG
mailing list