Matt Giuca <matt.gi...@gmail.com> added the comment:

I've attached a patch which renames encodestring to encodebytes (keeping
encodestring around as an alias). Updated test and documentation.

I also renamed decodestring to decodebytes, because it also refuses to
accept a string (only a bytes). I have an alternative suggestion, which
I'll post in a separate comment (in a minute).

----------
Added file: http://bugs.python.org/file13753/encodestring_rename.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue3613>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to