[issue1210] imaplib does not run under Python 3

STINNER Victor report at bugs.python.org
Tue Oct 14 20:14:21 CEST 2008


STINNER Victor <victor.stinner at haypocalc.com> 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 <report at bugs.python.org>
<http://bugs.python.org/issue1210>
_______________________________________


More information about the Python-bugs-list mailing list