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 poq
Recipients Anthony.Kong, berker.peksag, catalin.iacob, eric.araujo, petri.lehtinen, pitrou, poq, r.david.murray
Date 2012-02-16.21:40:53
SpamBayes Score 0.00017180678
Marked as misclassified No
Message-id <1329428454.34.0.986504898611.issue13641@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, I was surprised by the return type of b64encode when I first used it in Python 3. It seems to me that b64encode turns binary data into text and thus intuitively should take bytes and return str.

Similarly it seems intuitive to me for b64decode to take str as input and return bytes, as it turns text back into binary data.
History
Date User Action Args
2012-02-16 21:40:54poqsetrecipients: + poq, pitrou, eric.araujo, r.david.murray, catalin.iacob, petri.lehtinen, Anthony.Kong, berker.peksag
2012-02-16 21:40:54poqsetmessageid: <1329428454.34.0.986504898611.issue13641@psf.upfronthosting.co.za>
2012-02-16 21:40:53poqlinkissue13641 messages
2012-02-16 21:40:53poqcreate