[issue35723] Add "time zone index" cache to datetime objects
Ivan Pozdeev
report at bugs.python.org
Tue May 7 17:07:15 EDT 2019
Ivan Pozdeev <ivan_pozdeev at mail.ru> added the comment:
> which unfortunately use `is` to determine whether two datetimes are in the same zone or not
This sounds like a bug. Whether a tzinfo is a constant from a predefined set or something with a smart comparison semantic is none of datetime's business.
----------
nosy: +Ivan.Pozdeev
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35723>
_______________________________________
More information about the Python-bugs-list
mailing list