Issue544891
Created on 2002-04-16.21:45:55 by sries, last changed 2002-05-31.10:50:48 by bckfnn.
File name |
Uploaded |
Description |
Edit |
Remove |
socket.py.diff
|
sries,
2002-04-16.21:45:55
|
patch for fixing the reported problems with socket.py |
|
|
msg643 (view) |
Author: Steffen Ries (sries) |
Date: 2002-04-16.21:45:55 |
|
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
|
msg644 (view) |
Author: Finn Bock (bckfnn) |
Date: 2002-05-31.10:50:48 |
|
Logged In: YES
user_id=4201
Fixed in socket.py: 1.13;
|
|
Date |
User |
Action |
Args |
2002-04-16 21:45:55 | sries | create | |
|