[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...
Martin v. Löwis
report at bugs.python.org
Wed Apr 24 13:45:23 CEST 2013
Martin v. Löwis added the comment:
I don't see any point in merely bringing the codecs back, without any convenience API to use them. If I need to do
import codecs
result = codecs.getencoder("base64").encode(data)
I don't think people would actually prefer this over
import base64
result = base64.encodebytes(data)
I't (IMO) only the convenience method (.encode) that made people love these codecs.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7475>
_______________________________________
More information about the Python-bugs-list
mailing list