From: <am...@us...> - 2009-04-18 13:06:49
|
Revision: 6241 http://jython.svn.sourceforge.net/jython/?rev=6241&view=rev Author: amak Date: 2009-04-18 13:06:43 +0000 (Sat, 18 Apr 2009) Log Message: ----------- For the moment, we do not actually support IPV6. Before we can support it, we need to establish how such support can be adequately tested. Having the has_ipv6 flag as 1/True is misleading to the users. Modified Paths: -------------- trunk/jython/Lib/socket.py Modified: trunk/jython/Lib/socket.py =================================================================== --- trunk/jython/Lib/socket.py 2009-04-18 02:53:00 UTC (rev 6240) +++ trunk/jython/Lib/socket.py 2009-04-18 13:06:43 UTC (rev 6241) @@ -484,10 +484,11 @@ else: return self._do_receive_nio(0, num_bytes, flags) +# For now, we DO NOT have complete IPV6 support. +has_ipv6 = False + # Name and address functions - -has_ipv6 = 1 - + def _gethostbyaddr(name): # This is as close as I can get; at least the types are correct... addresses = java.net.InetAddress.getAllByName(gethostbyname(name)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |