I actually ended up using this in real code at work, and it seems the simplest and most error-free way to do a “singleton” in Python.
Comments for this link are closed. If you'd like to share your thoughts on this link with me, please contact me directly.
Did you use the version listed at the top of the page or one of the versions from the comments?
I noticed that this one: http://code.activestate.com/recipes/66531/#c20 uses new-style classes.