Antoine Pitrou added the comment: > one copyreg for multiple interpreters... this looks wrong: each interpreter > has its own list of modules, but copyreg.__globals__ belongs to only one... > A good solution would be to cache the copyreg module in the > PyInterpreterState (it already has codec_search_cache).
Yes, this is a reasonable solution. ---------- stage: -> needs patch versions: +Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19088> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com