This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ivan.Pozdeev
Recipients Ivan.Pozdeev, belopolsky, ericvw, fdrake, lemburg, p-ganssle, vstinner
Date 2019-05-07.21:07:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557263235.17.0.953154397304.issue35723@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2019-05-07 21:07:15Ivan.Pozdeevsetrecipients: + Ivan.Pozdeev, lemburg, fdrake, belopolsky, vstinner, ericvw, p-ganssle
2019-05-07 21:07:15Ivan.Pozdeevsetmessageid: <1557263235.17.0.953154397304.issue35723@roundup.psfhosted.org>
2019-05-07 21:07:15Ivan.Pozdeevlinkissue35723 messages
2019-05-07 21:07:15Ivan.Pozdeevcreate