[issue19395] unpickled LZMACompressor is crashy

Nadeem Vawda report at bugs.python.org
Fri Oct 25 23:12:34 CEST 2013


Nadeem Vawda added the comment:

Yes, that's because the builtin map function doesn't handle each input
in a separate process, so it uses the same LZMACompressor object
everywhere. Whereas multiprocessing.Pool.map creates a new copy of the
compressor object for each input, which is where the problem comes in.

----------

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


More information about the Python-bugs-list mailing list