From: Finn B. <bc...@us...> - 2001-02-07 09:17:50
|
Update of /cvsroot/jython/jython/Lib In directory usw-pr-cvs1:/tmp/cvs-serv20347 Modified Files: socket.py Log Message: Added some unsupported constants that allow test_socket to run. Index: socket.py =================================================================== RCS file: /cvsroot/jython/jython/Lib/socket.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** socket.py 2001/01/10 11:27:29 1.9 --- socket.py 2001/02/07 09:18:08 1.10 *************** *** 21,24 **** --- 21,27 ---- SOCK_DGRAM = 1 SOCK_STREAM = 2 + SOCK_RAW = 3 # not supported + SOCK_RDM = 4 # not supported + SOCK_SEQPACKET = 5 # not supported def _gethostbyaddr(name): *************** *** 324,327 **** --- 327,331 ---- sock.close() + SocketType = _tcpsocket def test(): |