This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Date 2001-04-12.15:43:07
SpamBayes Score
Marked as misclassified
Jim Fulton pointed out that binascii's b2a_base64()
function restricts the length of its input to 57
characters for no good reason: the code would work for
any input size but for this check. Also, there are
situations where it makes sense not to append a
newline, or to append something else than a newline.


- get rid of the input size check

- add an optional argument giving the delimiter string
to be appended, defaulting to "\n"

- possibly special-case None as the delimiter string to
avoid adding the pad bytes too???
Date User Action Args
2007-08-23 16:01:06adminlinkissue415694 messages
2007-08-23 16:01:06admincreate