Message643

Author sries
Recipients
Date 2002-04-16.21:45:55
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I found three problems with Lib/socket.py in jython-
2.1:

1. _udpsocket.send() calls self.sendto(), which 
expects two arguments, but only one is supplied.

2. _udpsocket.__del__() calls self.close(), which does 
not check whether the socket has already been closed. 
This causes AttributeError, when the socket object is 
eventually garbage collected.

3. _tcpsocket.__del__() same problem.

See attached diff for fix of the problem
History
Date User Action Args
2008-02-20 17:17:05adminlinkissue544891 messages
2008-02-20 17:17:05admincreate