allow python 2.6, 3.1, 3.2