Author cschramm
Recipients Denny Weinberg, Jim.Jewett, Roman.Evstifeev, ammar2, belopolsky, christian.heimes, cschramm, josh.r, ncoghlan, palm.kevin, yan12125
Date 2017-02-01.12:11:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485951061.6.0.665368825964.issue27400@psf.upfronthosting.co.za>
In-reply-to
Content
This issue should have a much higher priority as it basically breaks Python embedding unless the user either does not re-initialize the interpreter or avoid the use of _datetime.strptime.

We're currently testing with a patch based on Christian and Alexander's idea but using m_free as using m_clear and Py_CLEAR neither makes sense to me nor did it work in conjunction with Py_Finalize when testing it. A version matching the current tip is attached. We did not run into any issues so far (and the only thing I can think of is clearing the static variable too often and thus causing some extra imports).
History
Date User Action Args
2017-02-01 12:11:01cschrammsetrecipients: + cschramm, ncoghlan, belopolsky, christian.heimes, palm.kevin, Roman.Evstifeev, Jim.Jewett, josh.r, yan12125, Denny Weinberg, ammar2
2017-02-01 12:11:01cschrammsetmessageid: <1485951061.6.0.665368825964.issue27400@psf.upfronthosting.co.za>
2017-02-01 12:11:01cschrammlinkissue27400 messages
2017-02-01 12:11:01cschrammcreate