[issue40136] add warning to datetime.replace documentation to not use it for setting tzinfo unless UTC or None

Benedikt Bleimhofer report at bugs.python.org
Wed Apr 1 13:03:53 EDT 2020


Benedikt Bleimhofer <benedikt.bleimhofer at gmail.com> added the comment:

Thx for this really helpful info.
After reading the article i switched all my code from using pytz to dateutil.tz.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40136>
_______________________________________


More information about the Python-bugs-list mailing list