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 brett.cannon, ncoghlan, vstinner, zach.ware
Date 2014-08-13.08:43:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407919390.16.0.359405685922.issue22166@psf.upfronthosting.co.za>
In-reply-to
Content
I assigned this to myself when I thought this was going to be an easy fix (since I knew encodings._cache wasn't getting cleared), but it looks substantially more complicated than that.

I checked the codec entry was getting cleared by tearDown() correctly, and explicitly clearing the cycle between the test case and the codec implementation didn't help anything.

Restoring the cache to its original state did help, but only a little bit.

It may be one of the other test cases that's the problem, or else there may be something genuinely odd going on with the exception chaining and local variables.
History
Date User Action Args
2014-08-13 08:43:10ncoghlansetrecipients: + ncoghlan, brett.cannon, vstinner, zach.ware
2014-08-13 08:43:10ncoghlansetmessageid: <1407919390.16.0.359405685922.issue22166@psf.upfronthosting.co.za>
2014-08-13 08:43:10ncoghlanlinkissue22166 messages
2014-08-13 08:43:09ncoghlancreate