[Python-Dev] capability-mediated modules (was: python-dev Summary for 2003-03-01 through 2003-03-15)

Greg Ewing greg@cosc.canterbury.ac.nz
Fri, 21 Mar 2003 11:16:13 +1200 (NZST)

Samuele Pedroni <pedronis@bluewin.ch>:

> 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.

Python already has things you can instantiate -- they're
called classes!

Seems to me if you want instantiation, you should be using
a class, not a module.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+