[docs] [issue23232] 'codecs' module functionality + its docs -- concerning custom codecs, especially non-string ones

Martin Panter report at bugs.python.org
Sun Jan 25 02:01:49 CET 2015

Martin Panter added the comment:

I am certainly no expert, but this is how I understand the three different kinds of codecs are used:

* Stateless codecs: str.encode(), bytes.decode(), etc
* Incremental codecs: TextIOWrapper, IncrementalNewlineDecoder
* Stream codecs: only stuff inside the “codecs” module as far as I know: codecs.open(), EncodedFile() etc.


Python tracker <report at bugs.python.org>

More information about the docs mailing list