[Python-3000-checkins] r64176 - python/branches/py3k/Lib/multiprocessing/managers.py

benjamin.peterson python-3000-checkins at python.org
Thu Jun 12 19:02:51 CEST 2008


Author: benjamin.peterson
Date: Thu Jun 12 19:02:47 2008
New Revision: 64176

Log:
attempt to fix multiprocessing

Modified:
   python/branches/py3k/Lib/multiprocessing/managers.py

Modified: python/branches/py3k/Lib/multiprocessing/managers.py
==============================================================================
--- python/branches/py3k/Lib/multiprocessing/managers.py	(original)
+++ python/branches/py3k/Lib/multiprocessing/managers.py	Thu Jun 12 19:02:47 2008
@@ -968,7 +968,6 @@
 
 
 class ConditionProxy(AcquirerProxy):
-    # XXX will Condition.notfyAll() name be available in Py3.0?
     _exposed_ = ('acquire', 'release', 'wait', 'notify', 'notify_all')
     def wait(self, timeout=None):
         return self._callmethod('wait', (timeout,))
@@ -978,10 +977,9 @@
         return self._callmethod('notify_all')
 
 class EventProxy(BaseProxy):
-    # XXX will Event.isSet name be available in Py3.0?
-    _exposed_ = ('isSet', 'set', 'clear', 'wait')
+    _exposed_ = ('is_set', 'set', 'clear', 'wait')
     def is_set(self):
-        return self._callmethod('isSet')
+        return self._callmethod('is_set')
     def set(self):
         return self._callmethod('set')
     def clear(self):


More information about the Python-3000-checkins mailing list