Py26 compliance