[issue33408] Enable AF_UNIX support in Windows

2021-06-26 Thread Thomas Grainger
Change by Thomas Grainger : -- nosy: +graingert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33408] Enable AF_UNIX support in Windows

2019-08-02 Thread Steve Dower
Steve Dower 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

[issue33408] Enable AF_UNIX support in Windows

2019-08-02 Thread Paul Monson
Paul Monson added the comment: 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

[issue33408] Enable AF_UNIX support in Windows

2019-08-02 Thread Steve Dower
Steve Dower added the comment: Most of those examples would break today if run on Windows, though (AttributeError). So they'd just continue to break, probably with a different error (I'm not clear what happens if we specify SOCK_DGRAM with this change). Having an undocumented field doesn't

[issue33408] Enable AF_UNIX support in Windows

2019-08-01 Thread Ma Lin
Ma Lin added the comment: The current AF_UNIX address family of Windows10 doesn't support datagram, adding this flag may break some cross-platform code: https://github.com/osbuild/osbuild/blob/9371eb9eaa3d0a7cab876eb4c7b70f519dfbd915/osbuild/__init__.py#L253

[issue33408] Enable AF_UNIX support in Windows

2019-07-17 Thread Paul Monson
Change by Paul Monson : -- keywords: +patch pull_requests: +14617 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14823 ___ Python tracker ___

[issue33408] Enable AF_UNIX support in Windows

2019-07-17 Thread Paul Monson
Paul Monson added the comment: I don't know if datagram support is coming to AF_UNIX on Windows. The changes will only add the flag on Windows, and will enable stream sockets to use AF_UNIX on Windows. In mind this isn't breaking datagram support. It is true that it's a subset of what

[issue33408] Enable AF_UNIX support in Windows

2019-07-10 Thread Ma Lin
Ma Lin added the comment: It would be nice to investigate the habit of using AF_UNIX in Python code on GitHub: https://github.com/search?l=Python=AF_UNIX=Code If adding this flag will break a lot of code, due to lacking supports to datagram, maybe we should not add AF_UNIX at once, and

[issue33408] Enable AF_UNIX support in Windows

2019-07-10 Thread Ma Lin
Ma Lin added the comment: Have you upgraded the building SDK that supports AF_UNIX? And should remove AF_UNIX flag at runtime on systems older than Windows 10 1804, see issue32394. -- nosy: +Ma Lin ___ Python tracker

[issue33408] Enable AF_UNIX support in Windows

2019-07-10 Thread Paul Monson
Paul Monson added the comment: I've been asked by my team to investigate what is required to enable AF_UNIX in Python. Is anyone else actively investigating this? I did a prelinary investigation and the impact on test in test_sockets was pretty simple. However there were 26 test

[issue33408] Enable AF_UNIX support in Windows

2019-07-10 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33408] Enable AF_UNIX support in Windows

2019-07-03 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33408] Enable AF_UNIX support in Windows

2019-07-01 Thread Steve Dower
Change by Steve Dower : -- title: AF_UNIX is now supported in Windows -> Enable AF_UNIX support in Windows ___ Python tracker ___