Add Python 3 support.

Oh yes it makes sense :)