[Datetime-SIG] Add a strftime/strptime code for timezone ID

Alexander Belopolsky alexander.belopolsky at gmail.com
Sat Nov 5 13:17:49 EDT 2016


On Sat, Nov 5, 2016 at 9:26 AM, Chris Angelico <rosuav at gmail.com> wrote:
>
> I believe there was a proposal at one point to have a pip-updateable
> package, but a stdlib or OS-provided fallback. If it's possible to
> query the version of the OS-provided tzdata, Python could easily check
> all three and use the latest one available.


Yes, that was PEP 431, [1] but it was withdrawn after its author got stuck
on the issue that was later resolved in PEP 495. [2]  With that hurdle
behind, I plan to revive the proposal to include full timezone support in
Python some time in the 3.7 cycle.

I started a test project [3] and similar functionality is being
incorporated by Paul Ganssle in the dateutil library. [4]

We still have enough time for various ideas to get tested in PyPI packages
before they can be solidified in a PEP.


[1]: https://www.python.org/dev/peps/pep-0431
[2]: https://www.python.org/dev/peps/pep-0495
[3]: https://github.com/abalkin/tz
[4]: https://dateutil.readthedocs.io/en/stable/tz.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20161105/97b967b2/attachment.html>


More information about the Datetime-SIG mailing list