From: <pj...@us...> - 2008-07-16 01:15:47
|
Revision: 4953 http://jython.svn.sourceforge.net/jython/?rev=4953&view=rev Author: pjenvey Date: 2008-07-15 18:15:46 -0700 (Tue, 15 Jul 2008) Log Message: ----------- restore proto=0 as _realsocket asserts it so Modified Paths: -------------- trunk/jython/Lib/socket.py Modified: trunk/jython/Lib/socket.py =================================================================== --- trunk/jython/Lib/socket.py 2008-07-15 22:51:51 UTC (rev 4952) +++ trunk/jython/Lib/socket.py 2008-07-16 01:15:46 UTC (rev 4953) @@ -502,7 +502,7 @@ else: return _udpsocket() -def getaddrinfo(host, port, family=None, socktype=None, proto=None, flags=None): +def getaddrinfo(host, port, family=None, socktype=None, proto=0, flags=None): try: if not family in [AF_INET, AF_INET6, AF_UNSPEC]: raise NotSupportedError() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |