Please port to py3 or lastrite.
Python 3 supports was added in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0345061f4eccb3d990ce145a80ea0e5ebfeb067