Nick Coghlan added the comment: That's certainly a reasonable position to take - they use the same object->object model that the codecs module in general provides, which means Python 3.x can already handle the relevant use cases.
Any such PEP would be about deciding whether or not binary transforms are a case worth having additional infrastructure to support, or whether we just say that anyone wanting to deal with codecs other than test encodings should use the type neutral codec APIs. In the latter case, all that would be needed is a simple "is_text_encoding" flag, inspired by the private flag we already added to implement the non-text-encoding blacklist in 3.4. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20405> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com