Support python 3