A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-March/034178.html below:

python-dev Summary for 2003-03-01 through 2003-03-15)

[Python-Dev] capability-mediated modules (was: python-dev Summary for 2003-03-01 through 2003-03-15) [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	   +--------------------------------------+



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4