Support python 3.1 & 3.3