[Python-Dev] Module properties for C modules
Guido van Rossum
guido at python.org
Fri May 2 01:46:12 CEST 2008
On Thu, May 1, 2008 at 2:00 PM, Christian Heimes <lists at cheimes.de> wrote:
> 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.
Then I propose to drop the idea.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list