[issue22058] datetime.datetime() should accept a datetime.date as init parameter

Alexander Belopolsky report at bugs.python.org
Thu Jul 24 20:32:54 CEST 2014


Alexander Belopolsky added the comment:

Another "solution" is date(2001, 1, 1).__lt__(x), but this is even uglier than the one with timetuple.

----------

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


More information about the Python-bugs-list mailing list