py2.7 compat (in theory)