summaryrefslogtreecommitdiff
path: root/msgpack/unpack.h
diff options
context:
space:
mode:
authorWouter Bolsterlee <uws@xs4all.nl>2014-02-11 20:34:23 +0100
committerWouter Bolsterlee <uws@xs4all.nl>2014-02-11 20:42:58 +0100
commit77046b839da20feb528d303c8858ab6f34013ce7 (patch)
tree1ee52a06c697ba160101a756bbf6a5f55af7c26c /msgpack/unpack.h
parentd5436c28197f3ccdd473e1c54838133574948dab (diff)
downloadmsgpack-python-77046b839da20feb528d303c8858ab6f34013ce7.tar.gz
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).
Diffstat (limited to 'msgpack/unpack.h')
0 files changed, 0 insertions, 0 deletions