Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
I raised this issue on python-dev and Guido said "OK." See "[Python-Dev] Year 0 and year 10,000 in timetuple", http://mail.python.org/pipermail/python-dev/2010-June/100682.html I am attaching a "commit ready" patch which contains a few more test cases and a NEWS entry. I don't think there is a need to mention this in documentation, but at some point I would like to be able to write that dt.utctimetuple() is equivalent to dt.astimezone(timezone.utc).timetuple(), but at the moment it is not quite so. See issue 9004. ---------- resolution: -> accepted stage: patch review -> commit review Added file: http://bugs.python.org/file17728/issue9005a.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9005> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com