[Python-Dev] Evil setattr hack

Thomas Heller theller@python.net
19 Apr 2003 22:10:14 +0200


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