Creating classes and objects more than once?
Viktor Kerkez
alefnula at gmail.com
Fri Nov 28 02:53:32 EST 2008
On Nov 28, 12:32 am, "Chris Rebert" <c... at rebertia.com> wrote:
> The Python position on singletons is generally to just use a module
> instead (preferred), or apply the Borg pattern:http://code.activestate.com/recipes/66531/
The same problem appears if I use the module (as I pointed in the
first message of this thread). Also it will appear if I use the Borg
pattern because the class is created twice. :(
More information about the Python-list
mailing list