diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-10-28 16:42:34 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-10-28 18:04:21 +0100 |
| commit | 780eaa4779c5e6bd6bdc2c34e71aeae5d1b0dbbd (patch) | |
| tree | 3c013bee39e8e4061c3f31040ec5c86ca35a7383 /docs | |
| parent | f105fbe52b21da206bfbaedf0e92326667d7b2d4 (diff) | |
[1.5.x] Required serializer to use bytes in loads/dumps
loads has no way to tell if it should provide text or bytes to the
serializer; bytes are more reasonnable for a serialized representation,
and are the only option for pickled data.
dumps can perform conversions on the value it receives from the
serializer; but for consistency it seems better to require bytes too.
The current code would cause an exception when loading pickled session
data. See next commit.
Also fixed a bug when checking for compressed data.
Backport of 58a086a from master.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
