Title: Support UNIX sockets
Type: behaviour Severity: normal
Components: Library Versions: Jython 2.7
Milestone: Jython 2.7.2
Status: open Resolution: accepted
Dependencies: Superseder:
Assigned To: zyasoft Nosy List: sdough, zyasoft
Priority: low Keywords:

Created on 2015-02-06.22:14:50 by sdough, last changed 2015-10-29.22:28:10 by zyasoft.

msg9487 (view) Author: Steve Dougherty (sdough) Date: 2015-02-06.22:14:49
I'm running Jython 2.7b3 (default:e81256215fb0, Aug 4 2014, 02:39:51) with [OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.7.0_75 on Arch Linux with kernel 3.18.5-1.

>>> import socket
>>> socket.AF_UNIX


AttributeError: 'module' object has no attribute 'AF_UNIX'

and the [documentation]( notes "If the AF_UNIX constant is not defined then this protocol is unsupported."

CPython 2.7 and 3.4 support it on this system, so does this mean AF_UNIX support unimplemented on all systems?
msg9490 (view) Author: Jim Baker (zyasoft) Date: 2015-02-07.01:24:33
Unix domain sockets are not currently implemented in Netty, which is what Jython now uses. However, it may be supported in the future:!topic/netty/d42qul6zNu8

They would be very useful.
msg9611 (view) Author: Jim Baker (zyasoft) Date: 2015-03-10.18:36:38
Unix domain sockets are now available with the latest version of Netty, so we can start exploring this issue. But at 2.7.1 at the earliest.
Date User Action Args
2015-10-29 22:28:10zyasoftsetmilestone: Jython 2.7.1 -> Jython 2.7.2
2015-07-28 15:36:58zyasoftsetassignee: zyasoft
milestone: Jython 2.7.1
2015-03-10 18:36:39zyasoftsetmessages: + msg9611
2015-02-07 01:24:34zyasoftsetpriority: low
resolution: accepted
messages: + msg9490
nosy: + zyasoft
2015-02-06 22:14:50sdoughcreate