allow user classes to annotate type of their attributes using
_TYPE class attribute.
an example:
class Foo(StringifyMixin):
_TYPE = {'ascii': ['attr1', 'attr2']}
def __init__(self):
self.attr1 = 'hoge'
self.attr2 = 'fuga'
currently handles only 'ascii' type, for which just convert from/to
unicode.
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>