
May 1, 2008
5 p.m.
Guido van Rossum schrieb:
I don't see how it could work if any Python code is executed in the module, since code execution uses a dict for globals.
Supporting it only for built-in modules seems too big an exception.
I came up with the idea in order to replace the setters and getters of builtin modules such as the sys module. I deliberately excluded Python modules from the idea. It's going to be too tricky to expose the API to Python. Christian