datastax/python-driver — pull request #162 by thobbs (2014-07-22 19:23:24+00:00)
Title: Handle custom encoders in nested data types

The root of the problem was that nested data types would use the default
encoders for subitems. When the encoders were customized, they would
not be used for those nested items.

This fix moves the encoder functions into a class so that collections,
tuples, and UDTs will use the customized mapping when encoding subitems.

Fixes PYTHON-100.