singleton decorator

Farshid Lashkari no at spam.com
Mon Aug 7 19:38:40 EDT 2006


Andre Meyer wrote:
> Am I missing something here? What is the preferred pythonic way of 
> implementing singleton elegantly?

The "Open Issues" section of that PEP says the following:

"It's exceedingly unlikely that class decorators will be in Python 2.4"

So it might not be in the current version of python.

-Farshid



More information about the Python-list mailing list