Support for AF_xxx sockets

Issue #1942 new
Armin Rigo
created an issue

PyPy's sockets don't support all the AF_xxx address families that only work (and can only be tested) when running as root, or that are more or less deprecated nowadays. What should we do about them? Add them as people report a need for them, as long as they are not too much of the deprecated kind?

(An example where the AF_PACKET family was needed:

Update: AF_PACKET added. AF_NETLINK appears to be supported (adding a test would be cool). Still missing are only AF_TIPS and AF_BLUETOOTH, if we read socketmodule.c correctly.

Comments (14)

  1. Log in to comment