STINNER Victor added the comment: With blacklisted transform codecs, I'm fine with the idea of restoring codecs aliases for transform codecs in Python 3.4. Go ahead Nick.
-- For Python 3.5, a better solution should be found to declare transform codecs. And I had like to also add transform()/untransform() methods on bytes and str types. So you would have 4 API: * Unicode text codecs: str.encode/str.decode, str=>bytes * bytes transform codecs: bytes.transform/untransform, bytes-like object=>bytes * Unicode transform codecs: str.transform/untransform, str=>str * all codecs: codecs.encode/codecs.decode, something=>something else But only few developers (only me?) are interested by transform/untransform, so codecs.encode/codecs.decode might be enough. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19619> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com