Achievement unlocked: Python 3 compatibility