Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
Attached patch, issue10827b.diff, fixes the accept2dyear = True issue and removes unnecessary struct_time to tuple conversion, but otherwise does not change the Y2K behavior. The code handling accept2dyear is refactored so that it is now easy to accept y < 1900 in accept2dyear = False mode. The patch also includes unit tests. ---------- stage: -> commit review Added file: http://bugs.python.org/file20275/issue10827b.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10827> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com