[Python-checkins] python/dist/src/Lib socket.py,1.36,1.37

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Thu, 24 Apr 2003 22:48:34 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv26816/Lib

Modified Files:
	socket.py 
Log Message:
Patch by Jp Calderone:

- The socket module now provides the functions inet_pton and inet_ntop
  for converting between string and packed representation of IP addresses.
  See SF patch #658327.

This still needs a bit of work in the doc area, because it is not
available on all platforms (especially not on Windows).


Index: socket.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/socket.py,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** socket.py	30 Mar 2003 04:54:23 -0000	1.36
--- socket.py	25 Apr 2003 05:48:32 -0000	1.37
***************
*** 31,34 ****
--- 31,35 ----
  SocketType -- type object for socket objects
  error -- exception raised for I/O errors
+ has_ipv6 -- boolean value indicating if IPv6 is supported
  
  Integer constants: