Alexander Belopolsky <[email protected]> added the comment:
Reopening because the patch introduced a regression with respect to datetime
subclasses:
>>> class DT(datetime): pass
...
>>> DT.strptime('', '')
datetime.datetime(1900, 1, 1, 0, 0)
a DT instance expected. Need tests covering subclasses.
----------
stage: committed/rejected -> unit test needed
status: closed -> open
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6641>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com