[Python-Dev] capability-mediated modules (was: python-dev Summary for 2003-03-01 through 2003-03-15)
Thu, 20 Mar 2003 13:41:07 +0100
> Making it explicit would make me happy. Can you pass parameters to an
an extension like
would not seem totally unreasonable.
The problem is that normally modules are uniquely globally identified
singletons, but the very notion of parametrization implies instantiation and
that breaks the singleton part. When to instatiate a new module and when not?
a potential problem is not simply module specific global state but that the
e.g. classes exported from two instances of the same module would be _distinct_
and so not interoperable.