Adding PEP 495 support to dateutil
alexander.belopolsky at gmail.com
Wed Sep 16 04:53:21 CEST 2015
On Sat, Sep 12, 2015 at 9:58 PM, Tim Peters <tim.peters at gmail.com> wrote:
> I think acceptance of 495 should be contingent upon
> someone first completing a fully functional (if not releasable)
> fold-aware zoneinfo wrapping.
After studying both pytz and dateutil offerings, I decided that it is
easier to add "fold-awareness" to the later. I created a fork  on
Github and added  fold-awareness logic to the tzrange class that appears
to be the base class for most other tzinfo implementations. I was
surprised how few test cases had to be changed. It looks like dateutil
test suit does not test questionable (in the absence of fold) behavior. I
will need to beef up the test coverage.
I am making all development public early on and hope to see code reviews
and pull requests from interested parties. Pull requests with additional
test cases are most welcome.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list