Will McGugan wrote: > Hi, > > Is there a canonical way of storing per-thread data in Python? Good question. There's threading.local() which creates a thread-local object for you. Maybe this Cookbook entry is helpful: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/302088 -- Gerhard