Python2.5 support