Joachim Schmitz wrote at 2005-3-2 18:34 +0100:
In my product I try to connect to a remote https-server with the help of httplib HTTPSConnection. This fails in Zope with the error: ... I tracked it down to the the following: Python 2.3.4 (#2, Jul 28 2004, 09:39:34) [GCC 3.3.4 (Debian 1:3.3.4-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) print sock._sock <socket object, fd=3, family=2, type=1, protocol=0>
the same in my zope-product results in: 236 import socket 237 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 238 import pdb 239 pdb.set_trace() 240 print sock._sock
<socket._socketobject object at 0xb652c8c4>
Are you sure that both are using the same (identical) Python? -- Dieter