msgpack/msgpack-python — pull request #5 by steeve (2012-02-16 14:56:53+00:00)
Title: Pyrex will fail is trying to set a inherited object from dict. 

Suppose we have:

class MyDict(dict):
pass

msgpack.dumps(MyDict())

It will fail with:

File "_msgpack.pyx", line 172, in msgpack._msgpack.packb (msgpack/_msgpack.c:2377)
File "_msgpack.pyx", line 154, in msgpack._msgpack.Packer.pack (msgpack/_msgpack.c:2013)
File "_msgpack.pyx", line 131, in msgpack._msgpack.Packer._pack (msgpack/_msgpack.c:1603)
TypeError: Expected dict, got MyDict