You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/ezio-melotti'closed_at=<Date2013-05-07.08:16:56.248>created_at=<Date2013-04-13.15:39:29.434>labels= ['type-feature', 'docs']
title="str.encode('base64') add trailing new line character. It is not documented."updated_at=<Date2013-05-07.08:21:33.165>user='https://bugs.python.org/alex75'
str.encode() with 'base64' as argument add a trailing new line character to the returned string. This is the difference from base64.b64encode(str) (that is used internally).
alex75mannequin
changed the title
str.encode('base64') add trailing new line character is not documented
str.encode('base64') add trailing new line character. It is not documented.
Apr 13, 2013
The str.encode() doc is the wrong place where to document this, since the '\n' is added only for the base64 codec. I added a note about this in the codecs docs0.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: