Message5938

Author zyasoft
Recipients urs.bisang, zyasoft
Date 2010-08-04.17:18:02
SpamBayes Score 5.1904412e-06
Marked as misclassified No
Message-id <1280942283.6.0.903447801252.issue1636@psf.upfronthosting.co.za>
In-reply-to
Content
Seems to me the bug is in CPython:

$ python
Python 2.6.4+ (release26-maint, Nov  5 2009, 07:35:50) 
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
>>> import time
>>> d = (2010, 7, 25, 8, 58, 41, 100000000, 206, -1)
>>> time.strftime('%Y-%m-%dT%H:%M:%SZ',d)
'2010-07-25T08:58:41Z'

Day of week is not necessary here to construct the time tuple, but ignoring something that's inconsistent doesn't seem to make sense.

Urs, is there any reason why we should support this behavior, other than compliance even when buggy? I'm going to keep this pending for the moment.
History
Date User Action Args
2010-08-04 17:18:03zyasoftsetmessageid: <1280942283.6.0.903447801252.issue1636@psf.upfronthosting.co.za>
2010-08-04 17:18:03zyasoftsetrecipients: + zyasoft, urs.bisang
2010-08-04 17:18:03zyasoftlinkissue1636 messages
2010-08-04 17:18:02zyasoftcreate