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

Alexander Belopolsky report at bugs.python.org
Fri Jun 25 17:10:30 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

> Deprecating the feature for 3.x is certainly an option.
> May be a little drastic though.

How drastic would be to stop subclassing datetime from date in 3.2?  After all, we don't subclass float form int.

----------

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


More information about the Python-bugs-list mailing list