fix for python3.1; reimplement cmp logic manually
fix for python3.1; reimplement cmp logic manually

Khan/pympler,yunjianfei/pympler,pympler/pympler,Khan/pympler,swiftstack/pympler,pympler/pympler,yunjianfei/pympler