python 3.4 compatability