[tz] Python PEP-615 release eminent
Paul Ganssle
paul at ganssle.io
Mon Sep 21 19:20:14 UTC 2020
Thanks Matt!
And thanks for everyone on this list for the sage advice during the PEP
process. ☺
In case anyone is interested in getting a jump on using this, a backport
is available for version 3.6+:
https://zoneinfo.readthedocs.io/en/stable/ (PyPI link:
https://pypi.org/project/backports.zoneinfo/)
The backport is Apache 2.0 licensed.
On 9/21/20 2:52 PM, Paul Eggert wrote:
> On 9/21/20 10:08 AM, Matt Johnson-Pint wrote:
>
>> It contains PEP-615, Support for the IANA Time Zone Database in the
>> Standard Library. Thanks to Paul Ganssle.
>
> Thanks for the heads-up. I installed the attached proposed patch to
> the development version.
>
Nice ☺. One thing that may be worth noting (though it doesn't really
matter) is that the zoneinfo module also handles finding the time zone
data on your system for you, and as part of PEP 615, we have a
"first-party PyPI [read: installable] module" called tzdata
(https://pypi.org/project/tzdata/) providing the time zone database
(only used when the system database cannot be found). Not sure if you
want to put that separately under "Other tz-based time zone software",
do a combined entry or move the whole thing.
> Once Python 3.9 is out, is there some way to change the URLs in this
> patch so that they point to the current Python version rather than to
> version 3.9? That will simplify future maintenance of tz-link.html.
>
Yes, when 3.9+ is the latest version, a more stable link will be
https://docs.python.org/3/library/zoneinfo.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mm.icann.org/pipermail/tz/attachments/20200921/fabcaeec/attachment.sig>
More information about the tz
mailing list