strict_map_key
fedy85 opened this issue · 0 comments
fedy85 commented
New msgpack from version 1.0.0 has strict_map_key=True, so exception for int casting for value is thrown
when using Django Redis cache here
https://github.com/jazzband/django-redis/blob/master/django_redis/client/default.py#L482
Fast fix for me was to change from
return msgpack.loads(value, raw=False)
to
return msgpack.loads(value, raw=False, strict_map_key=False)