Mouse added the comment:

1. I am OK with the following text, modeling referred Perldoc:

b2a_base64( $bytes, $eol );

Encode data by calling the encode_base64() function. The first argument is the 
byte string to encode. 

The second argument is optional, and provides the line-ending sequence to use. 
When it is given, the returned encoded string is broken into lines of no more 
than 76 characters each and it will end with $eol unless it is empty. Pass an 
empty string, or no second argument at all if you do not want the encoded 
string to be broken into lines.

2. I already had people telling me that "Python-3 doc prohibits input longer 
than 57 bytes, even though it doesn't currently enforce it". Please help 
putting end to spreading of this confusion.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25495>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to