Python 3 port. Simple enough.