msgpack-python/msgpack
Wouter Bolsterlee 77046b839d 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).
2014-02-11 20:42:58 +01:00
..
__init__.py Document update. 2013-10-21 01:47:54 +09:00
_packer.pyx fix bugs. 2013-10-21 01:12:57 +09:00
_unpacker.pyx Always raise TypeError for wrong argument types 2014-02-11 20:42:58 +01:00
_version.py 0.4.0 2013-10-21 01:20:13 +09:00
exceptions.py * msgpack/exceptions.py: Fix typo in error message. 2013-09-13 13:47:13 +02:00
fallback.py Always raise TypeError for wrong argument types 2014-02-11 20:42:58 +01:00
pack.h Merge branch 'master' of https://github.com/antocuni/msgpack-python into newspec 2013-10-20 15:08:31 +09:00
pack_template.h Add tests and bugfix. 2013-10-21 00:29:05 +09:00
sysdep.h s/\t/ /g 2013-02-27 21:24:25 +09:00
unpack.h Add tests and bugfix. 2013-10-21 00:29:05 +09:00
unpack_define.h Support unpacking new types. 2013-10-20 22:59:27 +09:00
unpack_template.h cleanup 2013-10-20 23:06:02 +09:00