[Datetime-SIG] IANA TZ database statistics
Alexander Belopolsky
alexander.belopolsky at gmail.com
Sat Sep 26 02:25:19 CEST 2015
On Fri, Sep 25, 2015 at 5:32 PM, Tim Peters <tim.peters at gmail.com> wrote:
>
> >
> https://github.com/abalkin/cpython/commit/54d3596b0180512c68c91e8308665c0a9e61c9eb
>
> Wondering whether this line:
>
> if probe2 != result + trans:
>
> could be replaced with:
>
> if probe2 == result:
>
Yes, it can. Thanks for the suggestion.
>
> I'm not sure what the first line is saying ;-)
It says that probe2 and result are on the opposite sides of the transition,
but your tests is simpler and easier to understand.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20150925/9318e9d6/attachment.html>
More information about the Datetime-SIG
mailing list