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 beng94
Recipients belopolsky, beng94, iaslan, lemburg, serhiy.storchaka
Date 2016-02-16.07:50:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455609045.03.0.523815940967.issue23718@psf.upfronthosting.co.za>
In-reply-to
Content
Actually there are already test cases, but they test for the wrong behaviour. The very same example is tested there, but the test gives the expected result, so tm_yday = -3. My implementation returns 362, which looks more reasonable. So currently with my patch the test fails.

See the tests here: https://github.com/python/cpython/blob/master/Lib/test/test_strptime.py#L523
History
Date User Action Args
2016-02-16 07:50:45beng94setrecipients: + beng94, lemburg, belopolsky, serhiy.storchaka, iaslan
2016-02-16 07:50:45beng94setmessageid: <1455609045.03.0.523815940967.issue23718@psf.upfronthosting.co.za>
2016-02-16 07:50:45beng94linkissue23718 messages
2016-02-16 07:50:44beng94create