[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)
Fri, 21 Mar 2003 11:16:13 +1200 (NZST)
- Previous message: [Python-Dev] capability-mediated modules (was: python-dev Summary for 2003-03-01 through 2003-03-15)
- Next message: [Python-Dev] capability-mediated modules (was: python-dev Summary for 2003-03-01 through 2003-03-15)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 +--------------------------------------+