diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-09-17 11:24:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 11:24:01 (GMT) |
commit | e0e5065daef36dafe10a46eaa8b7800274d73062 (patch) | |
tree | 9155e7851c2298fbc2f2d4018c6cff37363a3298 /Lib/multiprocessing | |
parent | ddd1949fea59f256e51191540a4446f75ed608fa (diff) | |
download | cpython-e0e5065daef36dafe10a46eaa8b7800274d73062.zip cpython-e0e5065daef36dafe10a46eaa8b7800274d73062.tar.gz cpython-e0e5065daef36dafe10a46eaa8b7800274d73062.tar.bz2 |
bpo-34610: Fixed iterator of multiprocessing.managers.DictProxy. (GH-9113)
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r-- | Lib/multiprocessing/managers.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py index 3f26380..dbed993 100644 --- a/Lib/multiprocessing/managers.py +++ b/Lib/multiprocessing/managers.py @@ -1134,10 +1134,13 @@ class ListProxy(BaseListProxy): DictProxy = MakeProxyType('DictProxy', ( - '__contains__', '__delitem__', '__getitem__', '__len__', + '__contains__', '__delitem__', '__getitem__', '__iter__', '__len__', '__setitem__', 'clear', 'copy', 'get', 'has_key', 'items', 'keys', 'pop', 'popitem', 'setdefault', 'update', 'values' )) +DictProxy._method_to_typeid_ = { + '__iter__': 'Iterator', + } ArrayProxy = MakeProxyType('ArrayProxy', ( |