summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-10-28 16:42:34 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-10-28 16:57:15 +0100
commit58a086acfbec833f44cd53e984972250bbb67457 (patch)
treec7032e6d4b8f9da6827f1b50e36e6d4329802f23 /tests
parent611c4d6f1c24763e5e6e331a5dcf9b610288aaa8 (diff)
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.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions