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 draghuram
Recipients draghuram, loewis, rtmq
Date 2007-09-27.14:39:46
SpamBayes Score 0.15096562
Marked as misclassified No
Message-id <1190903987.12.0.173251805058.issue1210@psf.upfronthosting.co.za>
In-reply-to
Content
Just to further understand the issue, I added "imaplib.Debug=5" and here
is the output preceding the exception stack trace(I replaced the real
IMAP server name)

***************
  20:19.52 imaplib version 2.58
  20:19.52 new IMAP4 connection, tag=LOLD
  20:19.52 < * OK Microsoft Exchange Server 2003 IMAP4rev1 server
version 6.5.7638.1 (imapserver.com) ready.
  20:19.52      matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' =>
(b'OK', b' Microsoft Exchange Server 2003 IMAP4rev1 server version
6.5.7638.1 (imapserver.com) ready.', b'Microsoft Exchange Server 2003
IMAP4rev1 server version 6.5.7638.1 (imapserver.com) ready.')
***************

So it appears that the response is of type "bytes" which in turn is due
to reading the socket in binary mode (self.file =
self.sock.makefile('rb')). 

I would like to see how the problem can be fixed but any pointers are
appreciated.
History
Date User Action Args
2007-09-27 14:39:47draghuramsetspambayes_score: 0.150966 -> 0.15096562
recipients: + draghuram, loewis, rtmq
2007-09-27 14:39:47draghuramsetspambayes_score: 0.150966 -> 0.150966
messageid: <1190903987.12.0.173251805058.issue1210@psf.upfronthosting.co.za>
2007-09-27 14:39:47draghuramlinkissue1210 messages
2007-09-27 14:39:46draghuramcreate