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 ncoghlan
Recipients Denny Weinberg, belopolsky, ncoghlan, palm.kevin
Date 2016-07-03.04:31:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467520290.4.0.174746043093.issue27400@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the report Denny. Looking at https://hg.python.org/cpython/file/30099abdb3a4/Modules/datetimemodule.c#l3929, there's a problematic caching of the "_strptime" module that is almost certainly the cause of the problem - it will attempt to call _strptime._strptime from the already finalized interpreter rather than the new one.

It should be possible to adjust that logic to permit a check for _strptime._strptime being set to None, and reimporting _strptime in that case.
History
Date User Action Args
2016-07-03 04:31:30ncoghlansetrecipients: + ncoghlan, belopolsky, palm.kevin, Denny Weinberg
2016-07-03 04:31:30ncoghlansetmessageid: <1467520290.4.0.174746043093.issue27400@psf.upfronthosting.co.za>
2016-07-03 04:31:30ncoghlanlinkissue27400 messages
2016-07-03 04:31:29ncoghlancreate