Great! Thanks everyone for so many references and comments. Lots of
doubts have been solved.
On Fri, Jul 4, 2008 at 10:33 AM, Peter Otten [EMAIL PROTECTED] wrote:
Ben Finney wrote:
Peter Otten [EMAIL PROTECTED] writes:
The problem is the structure of your program. The myset module is
Hi everyone
I have developed the singleton implementation. However I have found a
strange behaviour when using from different files. The code is
attached.
Executing main
new MySet object
No singleton instance
New singleton:
__main__.Singleton instance at 0x2b98be474a70
new MySet object
There is