STINNER Victor <[EMAIL PROTECTED]> added the comment: IMAP_stream() is also broken because it uses os.popen2() which has been deprecated since long time and now replaced by subprocess.
Here is a patch replacing os.popen2() by subprocess, but also using transparent conversion from/to unicode using io.TextIOWrapper(). Added file: http://bugs.python.org/file11792/imaplib_stream.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1210> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com