New submission from carlo <carlo.reve...@berkeley.edu>:

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_LOCAL        Host-internal protocols, formerly called PF_UNIX,

(AF and PF mean the same thing here, but importantly it shows that PF_UNIX has 
been depreciated)

this change gives users the option to type socket.AF_LOCAL as well as 
socket.AF_UNIX when specifying the address family for the socket.

this is my first issue so lmk if there is anything I'm missing )

----------
components: Library (Lib)
messages: 344585
nosy: frosty00
priority: normal
severity: normal
status: open
title: Add AF_LOCAL alias for AF_UNIX
versions: Python 3.7

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

Reply via email to