[New-bugs-announce] [issue9801] Can not use append/extend to lists in a multiprocessing manager dict

James Hutchison report at bugs.python.org
Wed Sep 8 21:23:22 CEST 2010


New submission from James Hutchison <jamesghutchison at gmail.com>:

tested python 3.1.2

Man = multiprocessing.Manager();
d = man.dict();
d['l'] = list();
d['l'].append("hey");
print(d['l']);
>>> []

using debugger reveals a KeyError. Extend also does not work. Only thing that works is += which means you can't insert actual tuples or lists into the list. This was all done on a single process

----------
components: Library (Lib)
messages: 115891
nosy: Jimbofbx
priority: normal
severity: normal
status: open
title: Can not use append/extend to lists in a multiprocessing manager dict
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9801>
_______________________________________


More information about the New-bugs-announce mailing list