This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Saimadhav.Heblikar
Recipients Saimadhav.Heblikar, belopolsky, jamercee, lemburg, serhiy.storchaka
Date 2014-12-31.16:32:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420043551.08.0.0508511943979.issue23136@psf.upfronthosting.co.za>
In-reply-to
Content
Hi, 

Here is my understanding of it.
I have used the following C example of strptime and strftime to show that the string '0 2015 2' along with the format specifier '%W %Y %w' is invalid.

For any valid string, strptime followed by strftime should return the same string. This is easily verified. However, when you try the same thing(as in the attached example) with '0 2015 2', we get a different string after strptime followed by strftime, indicating the string is invalid.

Do let me know if I have made any mistake in understanding this.
History
Date User Action Args
2014-12-31 16:32:31Saimadhav.Heblikarsetrecipients: + Saimadhav.Heblikar, lemburg, belopolsky, serhiy.storchaka, jamercee
2014-12-31 16:32:31Saimadhav.Heblikarsetmessageid: <1420043551.08.0.0508511943979.issue23136@psf.upfronthosting.co.za>
2014-12-31 16:32:31Saimadhav.Heblikarlinkissue23136 messages
2014-12-31 16:32:30Saimadhav.Heblikarcreate