• Home
  • Raw
  • Download

Lines Matching refs:errors

138     def encode(self, input, errors='strict'):  argument
157 def decode(self, input, errors='strict'): argument
186 def __init__(self, errors='strict'): argument
194 self.errors = errors
226 def __init__(self, errors='strict'): argument
227 IncrementalEncoder.__init__(self, errors)
231 def _buffer_encode(self, input, errors, final): argument
239 (result, consumed) = self._buffer_encode(data, self.errors, final)
260 def __init__(self, errors='strict'): argument
268 self.errors = errors
309 def __init__(self, errors='strict'): argument
310 IncrementalDecoder.__init__(self, errors)
314 def _buffer_decode(self, input, errors, final): argument
322 (result, consumed) = self._buffer_decode(data, self.errors, final)
348 def __init__(self, stream, errors='strict'): argument
371 self.errors = errors
377 data, consumed = self.encode(object, self.errors)
423 def __init__(self, stream, errors='strict'): argument
442 self.errors = errors
448 def decode(self, input, errors='strict'): argument
504 newchars, decodedbytes = self.decode(data, self.errors)
508 self.decode(data[:exc.start], self.errors)
681 def __init__(self, stream, Reader, Writer, errors='strict'): argument
695 self.reader = Reader(stream, errors)
696 self.writer = Writer(stream, errors)
697 self.errors = errors
776 errors='strict'): argument
799 self.reader = Reader(stream, errors)
800 self.writer = Writer(stream, errors)
801 self.errors = errors
806 data, bytesencoded = self.encode(data, self.errors)
815 data, bytesencoded = self.encode(data, self.errors)
821 data, bytesencoded = self.encode(data, self.errors)
828 data, bytesencoded = self.encode(data, self.errors)
836 data, bytesdecoded = self.decode(data, self.errors)
842 data, bytesdecoded = self.decode(data, self.errors)
865 def open(filename, mode='r', encoding=None, errors='strict', buffering=1): argument
902 srw = StreamReaderWriter(file, info.streamreader, info.streamwriter, errors)
907 def EncodedFile(file, data_encoding, file_encoding=None, errors='strict'): argument
937 file_info.streamreader, file_info.streamwriter, errors)
1013 def iterencode(iterator, encoding, errors='strict', **kwargs): argument
1022 encoder = getincrementalencoder(encoding)(errors, **kwargs)
1031 def iterdecode(iterator, encoding, errors='strict', **kwargs): argument
1040 decoder = getincrementaldecoder(encoding)(errors, **kwargs)