Lines Matching defs:codecs
7 import codecs
141 passed. See the codecs module for the list of supported encodings.
148 See the documentation for codecs.register for a list of the permitted
1901 class IncrementalNewlineDecoder(codecs.IncrementalDecoder):
1909 codecs.IncrementalDecoder.__init__(self, errors=errors)
1994 codecs.register) and defaults to "strict".
2030 if not codecs.lookup(encoding)._is_text_encoding:
2032 "use codecs.open() to handle arbitrary codecs")
2041 codecs.lookup_error(errors)
2234 make_encoder = codecs.getincrementalencoder(self._encoding)
2239 make_decoder = codecs.getincrementaldecoder(self._encoding)
2371 # Actually, it will be exactly 1 for fixed-size codecs (all
2372 # 8-bit codecs, also UTF-16 and UTF-32).