[enh] python3 compatibility