port to python3, need six module