Message153504
| 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. |
|