Remove some Python 3.2 incompatibilities