python 2.x support