Christian Heimes added the comment:

Good idea! Initially I planned to add the functions and some other helpers 
around AF_UNIX to Python 3.6. You can directly copy the example functions from 
the documentation.

https://docs.python.org/3/library/socket.html#socket.socket.sendmsg
https://docs.python.org/3/library/socket.html#socket.socket.recvmsg

Please keep the names send_fds() and recv_fds(), and pass the message like in 
the examples. Some protocols use the payload to signal the count of fds. Your 
patch is also lacking unit tests and documentation update.

----------
nosy: +christian.heimes
stage:  -> needs patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28724>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to