Alexander Belopolsky <belopol...@users.sourceforge.net> 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 <rep...@bugs.python.org>
<http://bugs.python.org/issue6641>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to