Daniel Dittmar wrote:
> Frank Millman wrote:
> > I have subclassed threading.Thread, and I store a number of attributes
> > within the subclass that are local to the thread. It seems to work
> > fine, but according to what you say (and according to the Python docs,
> > otherwise why would there be a 'Local' class) there must be some reason
> > why it is not a good idea. Please can you explain the problem with this
> > approach.
>
> Your design is just fine. If you follow the thread upwards, you'll
> notice that I encouraged the OP to pass everything by parameter.
> 

Many thanks, Daniel

Frank

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to