This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, janssen
Date 2007-11-21.09:27:54
SpamBayes Score 0.12729943
Marked as misclassified No
Message-id <1195637275.04.0.129181694073.issue1482@psf.upfronthosting.co.za>
In-reply-to
Content
The SSL version of the imap4 client isnt' working under 3.0. After I
applied the patch from http://bugs.python.org/issue1210 I tried to
connect to an IMAP server over SSL. The connection hangs.

import imaplib
conn = imaplib.IMAP4_SSL("mailbox.rwth-aachen.de", 993)

After a while I stopped the attempt with CTRL+C
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/heimes/dev/python/py3k/Lib/imaplib.py", line 1137, in __init__
    IMAP4.__init__(self, host, port)
  File "/home/heimes/dev/python/py3k/Lib/imaplib.py", line 184, in __init__
    self.welcome = self._get_response()
  File "/home/heimes/dev/python/py3k/Lib/imaplib.py", line 907, in
_get_response
    resp = self._get_line()
  File "/home/heimes/dev/python/py3k/Lib/imaplib.py", line 1000, in
_get_line
    line = self.readline()
  File "/home/heimes/dev/python/py3k/Lib/imaplib.py", line 1170, in readline
    char = self.sslobj.read(1)
  File "/home/heimes/dev/python/py3k/Lib/ssl.py", line 160, in read
    return self._sslobj.read(len)
KeyboardInterrupt
History
Date User Action Args
2007-11-21 09:27:55christian.heimessetspambayes_score: 0.127299 -> 0.12729943
recipients: + christian.heimes, janssen
2007-11-21 09:27:55christian.heimessetspambayes_score: 0.127299 -> 0.127299
messageid: <1195637275.04.0.129181694073.issue1482@psf.upfronthosting.co.za>
2007-11-21 09:27:54christian.heimeslinkissue1482 messages
2007-11-21 09:27:54christian.heimescreate