2007/10/26, Bill Janssen <[EMAIL PROTECTED]>:
> 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/)
_______________________________________________
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

Reply via email to