[Python-3000] base64.{decode,encode}string

Bill Janssen janssen at parc.com
Sat Oct 27 01:07:26 CEST 2007


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.

Bill


More information about the Python-3000 mailing list