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 martin.panter
Recipients David.Edelsohn, belopolsky, martin.panter, python-dev, serhiy.storchaka, vstinner
Date 2015-11-15.00:58:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447549121.47.0.020973136611.issue25168@psf.upfronthosting.co.za>
In-reply-to
Content
I just discovered Issue 20220 about a similar story with a tarfile test case. It looks like this is caused by the same underlying C library quirk, so I am closing this as a duplicate. Using Antoine’s reproducer there I triggered both this datetime failure and the tarfile failure:

TZ='America/New_York' ./python -m test -v test_imaplib test_tarfile test_datetime

Also Serhiy I discovered Issue 6478 about the strptime() cache which has patches trying to do a similar thing to your patch.
History
Date User Action Args
2015-11-15 00:58:41martin.pantersetrecipients: + martin.panter, belopolsky, vstinner, python-dev, serhiy.storchaka, David.Edelsohn
2015-11-15 00:58:41martin.pantersetmessageid: <1447549121.47.0.020973136611.issue25168@psf.upfronthosting.co.za>
2015-11-15 00:58:41martin.panterlinkissue25168 messages
2015-11-15 00:58:41martin.pantercreate