This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.