Sie befinden sich hier: eisfair / Pack-Eis
News News News

Navigation

Content

python310-pytz-deprecation-shim (python3)

Python 3.10 - pytz-deprecation-shim (Offizielles Paket)

Version: 3.4.2 Status: stable Release Datum: 2023-08-24
Autor: the eisfair team, team(at)eisfair(dot)org
Internal Program Version: pytz-deprecation-shim  0.1.0

pytz has served the Python community well for many years, but it is no longer
the best option for providing time zones. pytz has a non-standard interface
that is very easy to misuse; this interface was necessary when pytz was
created, because datetime had no way to represent ambiguous datetimes, but this
was solved in in Python 3.6, which added a fold attribute to datetimes in PEP
495. With the addition of the zoneinfo module in Python 3.9 (PEP 615), there
has never been a better time to migrate away from pytz.

However, since pytz time zones are used very differently from a standard
tzinfo, and many libraries have built pytz zones into their standard time zone
interface (and thus may have users relying on the existence of the localize and
normalize methods); this library provides shim classes that are compatible with
both PEP 495 and pytz’s interface, to make it easier for libraries to deprecate
pytz.

https://github.com/pganssle/pytz-deprecation-shim
SHA256-Prüfsumme: a93e033eb9c7171dba5d9ac143ca984222fbd50b530d68dc4f0002ef283d3933
Größe: 18.28 KByte
Info-Datei: https://www.pack-eis.de/dl.php?l=60334/python310-pytz-deprecation-shim.tar.bz2.info
Benötigte Pakete: python310-base 3.4.2