STINNER Victor added the comment: "I found the culprit. The AddressFamily is not registered in _socket module. I created a preliminary patch to show the culprit."
That's not surprising, this type is created in socket (socket.py), not in _socket (the C module). Your patch is wrong. ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20689> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com