summaryrefslogtreecommitdiff
path: root/Lib/dumbdbm.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-12-11 20:32:20 +0000
committerGuido van Rossum <guido@python.org>2000-12-11 20:32:20 +0000
commiteaf951cac0e9bb9df1207e59d3bb047f3098e14f (patch)
tree6c686f93d974e974c9c882e271d6f3386a05b91c /Lib/dumbdbm.py
parent5a64f0a64173ad44b6d95ca617e7c9fe897010c2 (diff)
downloadcpython-eaf951cac0e9bb9df1207e59d3bb047f3098e14f.tar.gz
Hoepeful fix for SF bug #123924: Windows - using OpenSSL, problem with
socket in httplib.py. The bug reports that on Windows, you must pass sock._sock to the socket.ssl() call. But on Unix, you must pass sock itself. (sock is a wrapper on Windows but not on Unix; the ssl() call wants the real socket object, not the wrapper.) So we see if sock has an _sock attribute and if so, extract it. Unfortunately, the submitter of the bug didn't confirm that this patch works, so I'll just have to believe it (can't test it myself since I don't have OpenSSL on Windows set up, and that's a nontrivial thing I believe).
Diffstat (limited to 'Lib/dumbdbm.py')
0 files changed, 0 insertions, 0 deletions