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 belopolsky
Recipients Saimadhav.Heblikar, belopolsky, jamercee, lemburg, serhiy.storchaka
Date 2014-12-31.16:41:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420044109.06.0.71819351892.issue23136@psf.upfronthosting.co.za>
In-reply-to
Content
In a comment for #23134, Serhiy suggested that this may not be a bug (msg233215) because C strptime behavior for this case is undefined.

I disagree.  On Mac OSX, strptime man page states:

"""
     The %U and %W format specifiers accept any value within the range 00 to 53 without validat-
     ing against other values supplied (like month or day of the year, for example).
"""

And for the data="0 2015 2", format="%W %Y %w" case, it produces 2015-12-30 00:00:00 as expected.
History
Date User Action Args
2014-12-31 16:41:49belopolskysetrecipients: + belopolsky, lemburg, serhiy.storchaka, jamercee, Saimadhav.Heblikar
2014-12-31 16:41:49belopolskysetmessageid: <1420044109.06.0.71819351892.issue23136@psf.upfronthosting.co.za>
2014-12-31 16:41:49belopolskylinkissue23136 messages
2014-12-31 16:41:48belopolskycreate