[Python-Dev] Why does base64 return bytes?

Daniel Holth dholth at gmail.com
Tue Jun 14 14:13:11 EDT 2016


IMO this is more a philosophical problem than a programming problem. base64
has a dual-nature. It is both text and bytes. At least it should fit in a
1-byte-per-character efficient Python 3 unicode string also.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160614/ec5796d9/attachment.html>


More information about the Python-Dev mailing list