[issue6766] Cannot modify dictionaries inside dictionaries using Managers from multiprocessing
Terrence Cole
report at bugs.python.org
Wed Oct 14 02:33:05 CEST 2009
Terrence Cole <terrence at zettabytestorage.com> added the comment:
When a manager receives a message, it unpickles the arguments; this
calls BaseProxy.__reduce__, which calls RebuildProxy. If we are in the
manager, this returns the actual object, otherwise it returns a new
proxy. If we naively disable the ability for proxied objects to be
unredirected in the manager, as in the attached svn diff, this solves
the problem that Carlos and I are seeing. Surprisingly, after applying
this change, the full multiprocessing regression test still runs fine.
I'm sure this change should have some greater impact, but I'm not sure
what. I would appreciate if someone more knowledgeable could comment.
----------
keywords: +patch
Added file: http://bugs.python.org/file15119/mp_proxy_hack.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6766>
_______________________________________
More information about the Python-bugs-list
mailing list