Steve Dower <steve.do...@python.org> added the comment:

> I think it's possible that there is code that detects whether AF_UNIX is an 
> attribute on socket or not and does something different on Windows, but I 
> haven't seen an example of it so far.

One of the test suites linked above had a skipUnless(hasattr(socket, 
'AF_UNIX')) on the whole class, and at least one test assumed that it could use 
datagram support, so there's the example.

----------

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

Reply via email to