Glenn Linderman <v+python <at> g.nevcal.com> writes:

>     Agreed, they are not necessarily dedicated to apps.  But while they
>     are running the app, they have the appname in their thread local
>     storage, no?    So if a thread has the appname in its thread local
>     storage, is it not servicing that app, at that moment?  And if it
>     is, why is that insufficient?  That is my question, and you've
>     sidestepped it.

Sorry, I didn't mean to side-step: it's just that when reading your earlier post
(on the Web using Gmane), all the lines of Python in your post ran together, so
I didn't quite see what you were getting at.

Having looked at it more carefully, you're right: the threads set is not needed.
You can just "return tlocal.appName == self.app.name". I missed that, so thanks
for teaching me something, too :-)

Regards,

Vinay Sajip

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to