Assigning to self

Frans Englich frans.englich at telia.com
Mon Jan 17 16:03:11 EST 2005


On Monday 17 January 2005 20:03, John Roth wrote:
> "Frans Englich" <frans.englich at telia.com> wrote in message

<snip>

> In other words, you're trying to create a singleton. In general,
> singletons are frowned on these days for a number of reasons,
> not least because of the difficulty of testing them.

Then I have some vague, general questions which perhaps someone can reason 
from: what is then the preferred methods for solving problems which requires 
Singletons? Is it only frowned upon in Python code?


Cheers,

		Frans




More information about the Python-list mailing list