This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Paul Monson
Recipients Jeffrey.Kintscher, Paul Monson, eric.smith, filips123, giampaolo.rodola, malin, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-08-02.22:17:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564784253.83.0.303620594598.issue33408@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-08-02 22:17:33Paul Monsonsetrecipients: + Paul Monson, paul.moore, eric.smith, giampaolo.rodola, tim.golden, zach.ware, steve.dower, malin, filips123, Jeffrey.Kintscher
2019-08-02 22:17:33Paul Monsonsetmessageid: <1564784253.83.0.303620594598.issue33408@roundup.psfhosted.org>
2019-08-02 22:17:33Paul Monsonlinkissue33408 messages
2019-08-02 22:17:33Paul Monsoncreate