[issue43237] datetime.__eq__ returns true when timezones don't match

Mark Dickinson report at bugs.python.org
Thu Feb 18 04:54:45 EST 2021


Mark Dickinson <dickinsm at gmail.com> added the comment:

I'm going to close here. While changing the behaviour isn't completely out of the question, it would need (a) a clear proposal on how to deal with order comparisons and backwards compatibility, and (b) strong support from the community. A PEP is probably the best way forward, for anyone who wants to go this route.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list