[issue1210] imaplib does not run under Python 3

STINNER Victor report at bugs.python.org
Tue Nov 4 19:34:04 CET 2008

STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Le Tuesday 04 November 2008 00:59:02 Barry A. Warsaw, vous avez écrit :
> The assertion on line 813 is indented incorrectly. Please fix that.

Ooops. I'm using the following command because my editor is configured to 
remove the trailing spaces:
   svn diff --diff-cmd="/usr/bin/diff" -x "-ub"

The line 813 was an assertion. I added many assertions to check types (for 
easier debug) but there are not needed anymore (my code is bugfreee, haha, no 
it's a joke). The new attached patch has no more assertion.

Added file: http://bugs.python.org/file11942/imaplib_bytes-4.patch

Python tracker <report at bugs.python.org>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: imaplib_bytes-4.patch
URL: <http://mail.python.org/pipermail/python-bugs-list/attachments/20081104/03b3c7b2/attachment.txt>

More information about the Python-bugs-list mailing list