Add PY32 compatibility