Ben Finney a écrit :
(snip)
> The "Singleton" pattern does what you say here. Implementing a proper
> Singleton in Python is complicated and hard to understand.

Really ? Using __new__ and a class attribute, it doesn't seem so 
complicated - nor difficult to understand...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to