> > But if we remove SocketCloser, there's no need for the cyclic GC to be
> > involved.  If the count (of the number of outstanding SocketIO
> > instances pointing to this socket.socket) is just moved into the
> > socket.socket object itself, there's no cyclic reference, and normal
> > refcounting should work just fine.  I don't even think a __del__ method
> > on socket.socket is necessary.
> 
> Here's a patch, for whenever you get back to this.  You can
> ignore/remove the first hunk, which is about SSL.  I've tried all the
> tests, and they work.  I've looked for leaks in test_socket and
> test_ssl, no leaks.

I've posted this patch as issue 1439.

Bill
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to