Author alex.75
Recipients alex.75
Date 2013-04-13.15:39:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365867569.46.0.547710519327.issue17714@psf.upfronthosting.co.za>
In-reply-to
Content
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).

This is not documented in str.encode()
http://docs.python.org/2/library/stdtypes.html?highlight=encode#str.encode

Instead it is perfectly documented for base64.encodestring()
http://docs.python.org/2/library/base64.html#base64.encodestring
History
Date User Action Args
2013-04-13 15:39:29alex.75setrecipients: + alex.75
2013-04-13 15:39:29alex.75setmessageid: <1365867569.46.0.547710519327.issue17714@psf.upfronthosting.co.za>
2013-04-13 15:39:29alex.75linkissue17714 messages
2013-04-13 15:39:29alex.75create