[issue1210] imaplib does not run under Python 3

Jean-Paul Calderone report at bugs.python.org
Wed Jan 9 17:17:34 CET 2008


Jean-Paul Calderone added the comment:

You're correct in pointing out that IMAP4 supports arbitrary encodings,
so simply hard-coding ASCII is not correct.  The encoding isn't
connection-level, but applies to particular sequences of bytes in the
connection stream.  To correctly interpret the bytes as characters,
decoding must be integrated with the rest of the protocol implementation.

----------
nosy: +exarkun

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


More information about the Python-bugs-list mailing list