python 3.2.3 compatibility