I just made the switch to Python 3.10 as default.
But current stable app-misc/lirc-0.10.1-r4 failed for me with Python 3.10 and that although it has 3.10 in PYTHON_COMPAT.
all arches done
Thank you very much Sam!
That was a record speed with which you solved the issue.