[issue13641] decoding functions in the base64 module could accept unicode strings
Antoine Pitrou
report at bugs.python.org
Thu Feb 16 22:17:50 CET 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
> However, accepting bytes or string and returning bytes is not an
> obviously good idea, and IMO at least merits some discussion.
Why? "a" in "a2b" means ASCII, and unicode is as valid a container for ASCII text as bytes is.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13641>
_______________________________________
More information about the Python-bugs-list
mailing list