Re: Synchronizing methods of a class

2005-02-09 Thread Keith Veleba
Chris, Q&D example of <>.__dict__.items() not working for me: >>> import threading >>> class A(threading.Thread): ... def __init__(self): ... threading.Thread.__init__(self) ... def one(self): ... pass ... def two(self): ... pass ... >>> a = A() >>>

Synchronizing methods of a class

2005-02-07 Thread Keith Veleba
function list, by iterating through klass.__class__.__dict__ . My Question: If I decorate these function references in __class__.__dict__, am I doing it only for my specific instance of that class or the base class as well? Thanks in advance, Keith Veleba -- http://mail.python.org/mailman/listinfo/python-list