Message252625
The base64.b64encode() function calls binascii.b2a_base64() and then strips the newline. It would be more efficient to directly not add a newline.
Attached patch adds an optional newline parameter to binascii.b2a_base64(). It also modifies base64.b64encode() to call binascii.b2a_base64() with newline=False. |
|
| Date |
User |
Action |
Args |
| 2015-10-09 16:21:56 | vstinner | set | recipients:
+ vstinner |
| 2015-10-09 16:21:56 | vstinner | set | messageid: <1444407716.89.0.315561333899.issue25357@psf.upfronthosting.co.za> |
| 2015-10-09 16:21:56 | vstinner | link | issue25357 messages |
| 2015-10-09 16:21:56 | vstinner | create | |
|