[Datetime-SIG] Are there any "correct" implementations of tzinfo?

Alexander Belopolsky alexander.belopolsky at gmail.com
Sun Sep 13 04:15:02 CEST 2015


On Sat, Sep 12, 2015 at 9:58 PM, Tim Peters <tim.peters at gmail.com> wrote:

> > That's why I believe PEP 495 followed by the implementation
> > of fold-aware "as intended" tzinfos (either within stdlib or by third
> > parties) is the right approach.
>
> Me too - except I think acceptance of 495 should be contingent upon
> someone first completing a fully functional (if not releasable)
> fold-aware zoneinfo wrapping.


Good idea.  How far are you from completing that?


>   Details have a way of surprising, and
> we should learn from the last time we released a tzinfo spec in the
> absence of any industrial-strength wrappings using it.


I completely agree.  That's why I am adding test cases like Lord Hope
Island and Vilnius to datetimetester.

I will try to create a  zoneinfo wrapping prototype as well, but I will
probably "cheat" and build it on top of pytz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150912/c1cd5cb9/attachment.html>


More information about the Python-list mailing list