Message348923
If you try to create a datagram socket with the current AF_UNIX changes on Windows the error is:
OSError: [WinError 10047] An address incompatible with the requested protocol was used
All of the examples given will fail to load with AttributeError on Windows because socket.AF_UNIX is not a valid attribute on Windows.
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.
I can make the changes to WIN_AF_UNIX when I continue working on this, just in case there is portable code out there somewhere. |
|
Date |
User |
Action |
Args |
2019-08-02 22:17:33 | Paul Monson | set | recipients:
+ Paul Monson, paul.moore, eric.smith, giampaolo.rodola, tim.golden, zach.ware, steve.dower, malin, filips123, Jeffrey.Kintscher |
2019-08-02 22:17:33 | Paul Monson | set | messageid: <1564784253.83.0.303620594598.issue33408@roundup.psfhosted.org> |
2019-08-02 22:17:33 | Paul Monson | link | issue33408 messages |
2019-08-02 22:17:33 | Paul Monson | create | |
|