In Python 2.6 the multiprocessing
module has a Value
object used for sharing state between processes. They have a code sample that should give you an idea of how to share state in this manner, and you can use this approach when writing a singleton class.