Author loewis
Recipients
Date 2006-06-30.16:34:47
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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
History
Date User Action Args
2007-08-23 14:40:51adminlinkissue1513223 messages
2007-08-23 14:40:51admincreate