diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-06-12 17:02:47 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-06-12 17:02:47 (GMT) |
commit | 04f7d5397e50cc35a97874e0c4c6527bd1efcfe5 (patch) | |
tree | 3582246ee24014319c5b79e0d2d3c4636e221978 | |
parent | e0d9bb83ec2e127802060f93742a8e60e431443e (diff) | |
download | cpython-04f7d5397e50cc35a97874e0c4c6527bd1efcfe5.zip cpython-04f7d5397e50cc35a97874e0c4c6527bd1efcfe5.tar.gz cpython-04f7d5397e50cc35a97874e0c4c6527bd1efcfe5.tar.bz2 |
attempt to fix multiprocessing
-rw-r--r-- | Lib/multiprocessing/managers.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py index 2deee8c..b08b607 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): |