R. David Murray <rdmur...@bitdance.com> added the comment: See issue 1210 for background on the imaplib bytes/string issues.
A quick glance at the imaplib code leaves me confused. _checkquote, for example, appears to be mixing string comparisons and byte comparisons. Issue 1210 says imaplib _command should only quote strings, but it does not appear at a quick glance to do any quoting (the call to _checkquote is commented out). It looks like the fix that would be consonant with the rest of the code would be to convert the password to bytes using the ASCII codec in the login method before calling _quote. I'm adding Victor as nosy since he did the 1210 patch. ---------- nosy: +haypo, r.david.murray priority: -> normal stage: -> test needed versions: +Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6734> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com