This is tied in with the equality semantics of these objects, has come up here, in the dateutil tracker, and in pandas:
https://mail.python.org/archives/list/[email protected]/thread/45P3EXY3OJM56MJJH57VJ7NZEBXG7HG4 / <https://mail.python.org/archives/list/[email protected]/thread/45P3EXY3OJM56MJJH57VJ7NZEBXG7HG4/> https://github.com/dateutil/dateutil/issues/835 https://github.com/dateutil/dateutil/issues/792 https://github.com/pandas-dev/pandas/pull/24006#discussion_r238483612 My understanding is that hashing cannot be implemented until/unless equality is changed. Is that accurate? Is there a compelling reason for these _not_ to be hashable?
_______________________________________________ Datetime-SIG mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/datetime-sig.python.org/ The PSF Code of Conduct applies to this mailing list: https://www.python.org/psf/codeofconduct/
