[Python-Dev] Module properties for C modules (original) (raw)
Christian Heimes lists at cheimes.de
Thu May 1 23:00:35 CEST 2008
- Previous message: [Python-Dev] Module properties for C modules
- Next message: [Python-Dev] Module properties for C modules
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Module properties for C modules
- Next message: [Python-Dev] Module properties for C modules
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]