Author ethan.furman
Recipients docs@python, eli.bendersky, ethan.furman, georg.brandl, giampaolo.rodola, ncoghlan
Date 2014-01-25.20:40:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390682435.27.0.757209818983.issue20386@psf.upfronthosting.co.za>
In-reply-to
Content
The containers are there to help with discoverability.  If you want to know what all the (common) AF values are you can either do

    [name for name in dir(socket) if name.isupper() and name.startswith('AF_')]

or

    list(socket.AddressFamily)
History
Date User Action Args
2014-01-25 20:40:35ethan.furmansetrecipients: + ethan.furman, georg.brandl, ncoghlan, giampaolo.rodola, eli.bendersky, docs@python
2014-01-25 20:40:35ethan.furmansetmessageid: <1390682435.27.0.757209818983.issue20386@psf.upfronthosting.co.za>
2014-01-25 20:40:35ethan.furmanlinkissue20386 messages
2014-01-25 20:40:35ethan.furmancreate