If you encounter seemingly “strange” Python errors when emerging apps after a Python upgrade, execute:
# python-updater -v
This will rebuild packages that are broken due to the Python upgrade (Note: You can also manually emerge the packages python-updater lists)