pycassa/pycassa — pull request #150 by StyXman (2012-05-26 17:33:00+00:00)
Title: implicit hexa conversion for ByteType

ByteTypes (blobs) in Cassandra need to be encoded in its hexa representation (that is, a byte with value 0x3f must be encoded into the string '3F') before being sent via thrift (and decoded when read).

This patch implements encoding/decoding with binascii.(un)hexlify.