Guido van Rossum <guido@python.org> writes: > The thing with attributes of built-in types was different. This can > affect multiple interpreters, which is evil. You seem to care about multiple interpreters in the same process. Any chance to move the frozen modules pointer PyImport_FrozenModules to a interpreter private variable (part of the PyInterpreterState)? Thomas