commit | 3797065ac55997741fd625a30a8308c04ee5c9b9 | [log] [tgz] |
---|---|---|
author | Nadeem Vawda <nadeem.vawda@gmail.com> | Mon Oct 28 21:35:23 2013 +0100 |
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | Mon Oct 28 21:35:23 2013 +0100 |
tree | cf67e5dabe3bfcab16f64afa5118fd8b207c6da6 | |
parent | ba4e58a02172df294f16c68f0b0c4ac80184e4b0 [diff] |
#19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor). The underlying C libraries provide no mechanism for serializing compressor and decompressor objects, so actually pickling these classes is impractical. Previously, these objects would be pickled without error, but attempting to use a deserialized instance would segfault the interpreter.