msgpack/msgpack-python — pull request #84 by wbolster (2014-02-11 19:39:47+00:00)
Title: Always raise TypeError for wrong argument types

The code that checks whether hooks are callable() (and some other type
checks) should always raise TypeError on failure. Before this change,
both ValueError and TypeError were used in an inconsistent way (C
extension and Python implementation were not the same).