[Python-3000] base64.{decode,encode}string
Guido van Rossum
guido at python.org
Sat Oct 27 01:33:02 CEST 2007
2007/10/26, Bill Janssen <janssen at parc.com>:
> I think encodestring() should return a string, not bytes, and
> decodestring() should take either a string, or bytes containing an
> ASCII-encoded string. Otherwise, every place they'll ever be
> used has to wrap an additional unicode/encode step around their
> use.
I'm okay with being flexible on input. I think there ought to be
separate functions returning bytes and str.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000
mailing list