python 3.4 adjustments