From: Barry Warsaw Date: Thu, 6 Mar 2003 05:25:00 +0000 (+0000) Subject: Merge of the folding-reimpl-branch. Specific changes, X-Git-Tag: v2.3c1~1569 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c2f1536d0aa44bbbafbd38431f9efaf5a5ab0c3;p=thirdparty%2FPython%2Fcpython.git Merge of the folding-reimpl-branch. Specific changes, Remove a senseless comment. --- diff --git a/Lib/email/base64MIME.py b/Lib/email/base64MIME.py index 56e44e1c2c62..a247773300a3 100644 --- a/Lib/email/base64MIME.py +++ b/Lib/email/base64MIME.py @@ -102,9 +102,6 @@ def header_encode(header, charset='iso-8859-1', keep_eols=False, max_encoded = maxlinelen - len(charset) - MISC_LEN max_unencoded = _floordiv(max_encoded * 3, 4) - # BAW: Ben's original code used a step of max_unencoded, but I think it - # ought to be max_encoded. Otherwise, where's max_encoded used? I'm - # still not sure what the for i in range(0, len(header), max_unencoded): base64ed.append(b2a_base64(header[i:i+max_unencoded]))