py2.6 comatibility