[issue25495] binascii documentation incorrect

Mouse report at bugs.python.org
Tue Nov 3 13:36:45 EST 2015


Mouse added the comment:

The harm in mentioning the 57-byte chunking is that so far it successfully confused people. 

b2a_base64() function is not coupled to MIME. It has no constraints on either its input, or its output. *IF* it is used by (in) a MIME application, then the caller may want to make its output RFC 2045-compliant, by whatever way he chooses. Giving (an unwelcome) advice to a writer of one specific application is in my opinion completely out of scope here. Justification that it used to matter 25 years ago and therefore should be kept here doesn't make sense to me.

I strongly insist that this "chunking" thing does not belong, and must be removed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25495>
_______________________________________


More information about the Python-bugs-list mailing list