Skip to content

Commit

Permalink
Merge f69d616 into 882582b
Browse files Browse the repository at this point in the history
  • Loading branch information
maurosilber committed Aug 22, 2020
2 parents 882582b + f69d616 commit c798f1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion serialize/msgpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ def dumps(obj):


def loads(content):
return msgpack.unpackb(content, object_hook=all.decode, encoding='utf-8')
return msgpack.unpackb(content, object_hook=all.decode, raw=False)

all.register_format('msgpack', dumps, loads)
4 changes: 2 additions & 2 deletions serialize/pickle.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
:license: BSD, see LICENSE for more details.
"""

import collections
from collections.abc import MutableMapping

from . import all

Expand All @@ -23,7 +23,7 @@
raise


class DispatchTable(collections.MutableMapping):
class DispatchTable(MutableMapping):

def __getitem__(self, item):
if item in all.CLASSES:
Expand Down

0 comments on commit c798f1a

Please sign in to comment.