[issue11358] Please replace the use of pickle in multiprocessing with json.
report at bugs.python.org
Tue Mar 1 14:33:18 CET 2011
david <db.pub.mail at gmail.com> added the comment:
On 1 March 2011 18:01, Alex <report at bugs.python.org> wrote:
> Alex <alex.gaynor at gmail.com> added the comment:
> Why? JSON is incapable of representing most Python datastructures that can be pickled (i.e. anything that isn't a list, tuple, dict, int, or str).
I would have suggested yaml (using safe_load() ) . However there isn't
a 'core' yaml module afaik.
If you wanted to actually transfer a complex python data-structure no
one would stop you from pickling it and sending it (json'ed).
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list