Skip to content

Commit 04f7d53

Browse files
committed
attempt to fix multiprocessing
1 parent e0d9bb8 commit 04f7d53

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Lib/multiprocessing/managers.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,6 @@ def __exit__(self, exc_type, exc_val, exc_tb):
968968

969969

970970
class ConditionProxy(AcquirerProxy):
971-
# XXX will Condition.notfyAll() name be available in Py3.0?
972971
_exposed_ = ('acquire', 'release', 'wait', 'notify', 'notify_all')
973972
def wait(self, timeout=None):
974973
return self._callmethod('wait', (timeout,))
@@ -978,10 +977,9 @@ def notify_all(self):
978977
return self._callmethod('notify_all')
979978

980979
class EventProxy(BaseProxy):
981-
# XXX will Event.isSet name be available in Py3.0?
982-
_exposed_ = ('isSet', 'set', 'clear', 'wait')
980+
_exposed_ = ('is_set', 'set', 'clear', 'wait')
983981
def is_set(self):
984-
return self._callmethod('isSet')
982+
return self._callmethod('is_set')
985983
def set(self):
986984
return self._callmethod('set')
987985
def clear(self):

0 commit comments

Comments
 (0)