Message28940
Logged In: YES
user_id=21627
The problem is that _socketobject.close fails to set
recv_into and recvfrom_into to _dummy.
The real problem seems to me that close relies on
refcounting to close the underlying socket object. I think
it should first call self._sock.close() before releasing
it.
Also, a test case should be added that the socket object
really does go away after close, e.g. in the form
native_socket = s._sock
s.close()
assert sys.getrefcount(native_socket) == 2
|
|
| Date |
User |
Action |
Args |
| 2007-08-23 14:40:51 | admin | link | issue1513223 messages |
| 2007-08-23 14:40:51 | admin | create | |
|