Matthew Earl added the comment:

Out of interest, what's the reason for accepting the time.strptime() version as 
a bug, but not datetime.datetime.strptime()? Is it that time.strptime() is 
meant to be a simple parsing from string to tuple (with minimal checks), 
whereas datetime.datetime.strptime() should represent an actual point in time, 
therefore extra validation is expected to occur?

If so I'm happy to either close or add a small note to the docs (I don't mind 
which.)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19376>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to