From: Benjamin Peterson Date: Thu, 12 Jun 2008 17:02:47 +0000 (+0000) Subject: attempt to fix multiprocessing X-Git-Tag: v3.0b1~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04f7d5397e50cc35a97874e0c4c6527bd1efcfe5;p=python attempt to fix multiprocessing --- diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py index 2deee8c87d..b08b60723b 100644 --- a/Lib/multiprocessing/managers.py +++ b/Lib/multiprocessing/managers.py @@ -968,7 +968,6 @@ class AcquirerProxy(BaseProxy): 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 @@ class ConditionProxy(AcquirerProxy): 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):