On Tue, 10 Aug 2010 10:40:54 -0700, Eric Snow wrote:

> ssl.SSLSocket.__init__ makes a call to _ssl.sslwrap (in the C module). 
> That in turn makes a call to PyArg_ParseTuple, which casts the first arg
> of _ssl.sslwrap into a PySocketModule.Sock_Type object.
> 
> My problem is that I am trying to pass in an object that implements the
> Socket interface, but does not inherit from _socket.socket, like you do
> with file-like objects.  Is there a way to make this work, or is the
> PyArg_ParseTuple call going to stop me.

I don't know. What happens when you try it?




-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to