Message226489
Yeah, I'm wary of the GC hack as well. It's a nice way to prove that this the internal cache is the problem, but probably not something we want to commit.
A "codecs._forget_codec" helper in the C module would be all that was needed to handle it. Other implementations could then also use that to clear their own internal cache (if they have one). |
|
Date |
User |
Action |
Args |
2014-09-06 13:03:10 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, pitrou, vstinner, zach.ware |
2014-09-06 13:03:10 | ncoghlan | set | messageid: <1410008590.21.0.826619885725.issue22166@psf.upfronthosting.co.za> |
2014-09-06 13:03:10 | ncoghlan | link | issue22166 messages |
2014-09-06 13:03:10 | ncoghlan | create | |
|