Python2.6 compat