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 _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com