rough python 3 support