This causes a minor issue with newer versions of sys-apps/portage that want to use socket.sethostname(), notibly . When using ebuild or the emerge frontend, the following message will show up in build logs:
Unable to set hostname: module 'socket' has no attribute 'sethostname' (for FEATURES="network-sandbox")
pypy3 -c 'import socket; print(socket.sethostname)'
Confirmed. Except that issue using pypy3 with portage is seamless
We could add a workaround to Portage, I guess, as we load libc anyway.
(In reply to Michał Górny from comment #2)
> We could add a workaround to Portage, I guess, as we load libc anyway.
it has returned as different error in pypy-7.3.2.
Unable to set hostname: expected unicode, got bytes object (for FEATURES="network-sandbox")
I meant pypy3-7.3.2 ofc.
(In reply to Reva Denis from comment #6)
I mean I can reproduce it in pypy3-7.3.2
This should be fixed in -r1 now.