兼容python3.0+

py3.1.1 ,py3.3.5, py2.7.6 测试通过
update comments
pudate unit test