[issue5516] equality not symmetric for subclasses of datetime.date and datetime.datetime

Ray.Allen report at bugs.python.org
Wed May 26 06:26:17 CEST 2010


Ray.Allen <ysj.ray at gmail.com> added the comment:

Date and Datetime comparison is not defined and not documented, and until we find a nice way to implement the comparison, we should just let this comparison raise NotImpelemented.

----------
nosy: +ysj.ray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5516>
_______________________________________


More information about the Python-bugs-list mailing list