Issue415694
Created on 2001-04-12 15:43 by gvanrossum, last changed 2001-08-09 16:53 by gvanrossum.
|
msg53137 - (view) |
Author: Guido van Rossum (gvanrossum) |
Date: 2001-04-12 15:43 |
|
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.
Proposal:
- 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???
|
|
msg53138 - (view) |
Author: Guido van Rossum (gvanrossum) |
Date: 2001-08-09 16:53 |
|
Logged In: YES
user_id=6380
Thank you.
I've moved this feature request to PEP 42, "Feature Requests".
|
|
| Date |
User |
Action |
Args |
| 2001-04-12 15:43:07 | gvanrossum | create | |
|