more py 2.6 compliance