We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbaa8ed commit 30b0c6cCopy full SHA for 30b0c6c
msgpack/fallback.py
@@ -529,6 +529,8 @@ def _unpack(self, execute=EX_CONSTRUCT):
529
raise ValueError("%s is not allowed for map key" % str(type(key)))
530
if isinstance(key, str):
531
key = sys.intern(key)
532
+ if isinstance(key, list):
533
+ key = tuple(key)
534
ret[key] = self._unpack(EX_CONSTRUCT)
535
if self._object_hook is not None:
536
ret = self._object_hook(ret)
0 commit comments