[issue1482] IMAP4 SSL isn't working

Bill Janssen report at bugs.python.org
Thu Nov 22 00:07:34 CET 2007


Bill Janssen added the comment:

I'll take a look at it this weekend.

Bill

On Nov 21, 2007 1:27 AM, Christian Heimes <report at bugs.python.org> wrote:
>
> New submission from Christian Heimes:
>
> 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
>
> ----------
> assignee: janssen
> components: Library (Lib)
> keywords: py3k
> messages: 57735
> nosy: janssen, tiran
> priority: normal
> severity: normal
> status: open
> title: IMAP4 SSL isn't working
> versions: Python 3.0
>
> __________________________________
> Tracker <report at bugs.python.org>
> <http://bugs.python.org/issue1482>
> __________________________________
>

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1482>
__________________________________


More information about the Python-bugs-list mailing list