Support py3k

Support to py3k