Namespace confusion

Daniel Klein danielk at aracnet.com
Sat May 12 02:56:39 EDT 2001


On 11 May 2001 14:12:40 GMT, scarblac at pino.selwerd.nl (Remco Gerlich) wrote:

>Depending on what you'd need it for, there are some other methods, like
>keeping track of the amount of instances in some variable that the __init__
>can increase, or keeping a list of instances (or one with weak refs), or if
>you need a singleton, some other method, there are several.

Where can I find information on implementing singletons in Python? I might have
a need for this too.

Dan




More information about the Python-list mailing list