Alexander Belopolsky added the comment: Here is the case that I think illustrates the current logic better:
>>> datetime.strptime("20141234", "%Y%m%d%H%M") datetime.datetime(2014, 1, 2, 3, 4) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22840> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com