[issue37152] Add AF_LOCAL alias for AF_UNIX

2019-06-05 Thread Christian Heimes
Christian Heimes added the comment: You are welcome! :) -- resolution: -> rejected stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___

[issue37152] Add AF_LOCAL alias for AF_UNIX

2019-06-05 Thread carlo
carlo added the comment: > I'm -1 to add the alias. It just adds to the confusion. It's also against the > Zen of Python: "There should be one-- and preferably only one --obvious way > to do it." Agreed with the zen of python. This is my first PR / issue, thanks for the fast reply. You may

[issue37152] Add AF_LOCAL alias for AF_UNIX

2019-06-04 Thread Christian Heimes
Christian Heimes added the comment: The socket type is known as AF_UNIX, AF_LOCAL, Unix domain socket, and IPC (inter process communication) socket. The man page unix(7) http://man7.org/linux/man-pages/man7/unix.7.html uses three of those four terms to explain the socket type: The AF_UN

[issue37152] Add AF_LOCAL alias for AF_UNIX

2019-06-04 Thread carlo
Change by carlo : -- keywords: +patch pull_requests: +13695 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13810 ___ Python tracker ___ __

[issue37152] Add AF_LOCAL alias for AF_UNIX

2019-06-04 Thread carlo
New submission from carlo : both mean the same thing and are used to reference local socket files if you do a `man socket` one of the lines says PF_LOCALHost-internal protocols, formerly called PF_UNIX, (AF and PF mean the same thing here, but importantly it shows that PF_UNIX has b