[issue9005] Year range in timetuple

Alexander Belopolsky report at bugs.python.org
Mon Jun 21 16:25:10 CEST 2010


Alexander Belopolsky <belopolsky at 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 <report at bugs.python.org>
<http://bugs.python.org/issue9005>
_______________________________________


More information about the Python-bugs-list mailing list