[issue1210] imaplib does not run under Python 3
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>
More information about the Python-bugs-list