Nick Coghlan added the comment:

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).


Python tracker <>
Python-bugs-list mailing list

Reply via email to