mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
c6d8900231
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
10 lines
576 B
Text
10 lines
576 B
Text
pytz-deprecation-shim (Shims to help you safely remove pytz)
|
|
|
|
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 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.
|