flox <la...@yahoo.fr> added the comment: Thinking about it, I am +1 to reimplement the codecs.
We could implement new methods to replace the old one. (similar to base64.encodebytes and base64.decodebytes) >>> b'abc'.encodebytes('base64') b'YWJj\n' >>> b'abc'.encodebytes('zlib').encodebytes('base64') b'eJxLTEoGAAJNASc=\n' >>> b'UHl0aG9u'.decodebytes('base64').decode('utf-8') 'Python' ---------- components: +Library (Lib) _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7475> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com