msgpack/msgpack-python — pull request #24 by jnothman (2012-09-23 09:41:46+00:00)
Title: Object pairs hook

As per issue #19. Implemented such that `object_pairs_hook` gets stored in `user.object_hook` with an additional `user.has_pairs_hook` flag. At the same time I have factored out the `ctx[.user]` initialisation in common between `unpackb` and `Unpacker`.