[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/LocalEventService - LocalEventService.py:1.8.2.1
Gary Poster
gary@zope.com
Thu, 28 Nov 2002 10:25:59 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/LocalEventService
In directory cvs.zope.org:/tmp/cvs-serv28136
Modified Files:
Tag: gary-zope3_queries-branch
LocalEventService.py
Log Message:
SteveA pointed out that _v_ attributes are only available within a given thread, which means that other people being smarter than me has made my code better :-)
I therefore removed the XXX comment.
=== Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/LocalEventService.py 1.8 => 1.8.2.1 ===
--- Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/LocalEventService.py:1.8 Wed Nov 27 21:45:47 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/LocalEventService.py Thu Nov 28 10:25:59 2002
@@ -106,8 +106,7 @@
def unbound(wrapped_self, name):
"see IBindingAware"
clean_self = removeAllProxies(wrapped_self)
- clean_self._v_unbinding = True # [XXX not thread-safe; ok? it
- # seems unlikely to cause problems in real-life usage]
+ clean_self._v_unbinding = True
# this flag is used by the unsubscribedFrom method (below) to
# determine that it doesn't need to further unsubscribe beyond
# what we're already doing.