Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'context': 0.07; '__init__': 0.09; 'host,': 0.09; 'terry': 0.09; 'python': 0.10; 'bug': 0.11; 'jan': 0.11; '24,': 0.16; 'list),': 0.16; 'next?': 0.16; 'port)': 0.16; 'received:80.91': 0.16; 'received:80.91.229': 0.16; 'received:gmane.org': 0.16; 'received:list': 0.16; 'reedy': 0.16; 'self.sslobj': 0.16; 'subject:SSL': 0.16; 'wrote:': 0.17; '(where': 0.18; 'appears': 0.20; 'exists': 0.22; 'header:In-Reply- To:1': 0.23; "i've": 0.24; 'defined': 0.24; 'header:User-Agent:1': 0.26; 'post': 0.27; 'skip:" 30': 0.27; 'header:X-Complaints-To:1': 0.28; 'bug?': 0.29; 'fixed': 0.30; 'am,': 0.30; 'embedded': 0.30; 'patch': 0.30; 'actual': 0.31; 'code': 0.31; '(and': 0.31; 'related': 0.32; 'michael': 0.33; 'ended': 0.33; 'file': 0.34; 'open': 0.34; 'thanks': 0.35; 'getting': 0.35; 'problem.': 0.35; 'should': 0.35; 'to:addr:python-list': 0.35; 'problem': 0.35; 'two': 0.36; 'something': 0.36; 'help!': 0.36; 'does': 0.36; 'but': 0.36; 'next': 0.37; 'previous': 0.37; 'subject:: ': 0.37; 'well.': 0.37; 'mailing': 0.38; 'changed': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.39; 'header:Received:5': 0.39; 'subject:, ': 0.61; 'connecting': 0.61; 'back': 0.61; 'caused': 0.67; 'response.': 0.67; '(probably': 0.84; 'choices.': 0.84; 'presumably': 0.84; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: SSL handshake hanging, despite bugfix in stdlib Date: Mon, 25 Jun 2012 16:19:52 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-74-109-121-73.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 52 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1340655614 news.xs4all.nl 6958 [2001:888:2000:d::a6]:58033 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24444 On 6/25/2012 8:34 AM, Michael Gundlach wrote: > Hello again Terry (and mailing list), > > On Sun, Jun 24, 2012 at 9:34 AM, Michael Gundlach > wrote: > > I've now changed to 2.7.3, and if I don't write back in the next few > days, it means that that fixed the problem -- thanks for your help! :) > > > The problem still exists in Python 2.7.3: > > File "/usr/local/lib/python2.7/imaplib.py", line 1148, in __init__ > IMAP4.__init__(self, host, port) > File "/usr/local/lib/python2.7/imaplib.py", line 163, in __init__ > self.open(host, port) > File "/usr/local/lib/python2.7/imaplib.py", line 1160, in open > self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile) > File "/usr/local/lib/python2.7/ssl.py", line 381, in wrap_socket > ciphers=ciphers) > File "/usr/local/lib/python2.7/ssl.py", line 143, in __init__ > self.do_handshake() > File "/usr/local/lib/python2.7/ssl.py", line 305, in do_handshake > self._sslobj.do_handshake() > KeyboardInterrupt > > What should I do next? File a bug? Issue x ended with the message that the patch to issue y presumably fixed issue x as well. I see two choices. (WHere I forget x and y, but they were defined in previous posts.) 1. Post to issue x something like "I recently started getting what appears to be the same bug in 2.6.6 and 2.7.3 when connecting to Google. Should this be reopened or should I file a new report?" and wait for a response. 2. Open new issue z, mentioning issue x and then post to issue x "I opened an issue about the same or related bug in #z." You should give the actual IMAP call that caused the problem. Does is bomb when given in isolation, or does it have to be embedded in other code that would be affecting the context somehow (probably improperly). -- Terry Jan Reedy