This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Hector Cloud
Recipients Hector Cloud
Date 2015-06-10.09:56:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I use Python 3.4.0 now. But its base64 encoding is not as expected.
import base64
ascii = base64.b64encode(u"YAU-interview-revised20120921".encode(), b'-_')
The result is b'WUFVLWludGVydmlldy1yZXZpc2VkMjAxMjA5MjE='. There is a character '=' at the end which is not expected. In my opinion, the result should contain characters [A-Za-z0-9] and '-_'. The '=' should not be in the encoding result.

Is it a bug?
Date User Action Args
2015-06-10 09:56:19Hector Cloudsetrecipients: + Hector Cloud
2015-06-10 09:56:19Hector Cloudsetmessageid: <>
2015-06-10 09:56:19Hector Cloudlinkissue24422 messages
2015-06-10 09:56:19Hector Cloudcreate