Add Python 3 support.

missing comas... but merged :-/