dev-libs/lib{xml2,xslt} don't support python3. However, dev-python/lxml depends on them and seems to support it. WTF?
Ah, it depends on the C libraries only. My bad.