Lines Matching defs:errors
181 const char *errors)
185 args = PyTuple_New(1 + (errors != NULL));
190 if (errors) {
193 v = PyString_FromString(errors);
224 const char *errors,
236 if (errors)
237 ret = PyObject_CallFunction(inccodec, "s", errors);
249 const char *errors,
259 if (errors != NULL)
260 streamcodec = PyObject_CallFunction(codeccls, "Os", stream, errors);
284 const char *errors)
286 return codec_getincrementalcodec(encoding, errors, "incrementalencoder");
290 const char *errors)
292 return codec_getincrementalcodec(encoding, errors, "incrementaldecoder");
297 const char *errors)
299 return codec_getstreamcodec(encoding, stream, errors, 2);
304 const char *errors)
306 return codec_getstreamcodec(encoding, stream, errors, 3);
312 errors is passed to the encoder factory as argument if non-NULL. */
316 const char *errors)
326 args = args_tuple(object, errors);
359 errors is passed to the decoder factory as argument if non-NULL. */
363 const char *errors)
373 args = args_tuple(object, errors);
796 "raises a UnicodeError on coding errors.")
879 that other errors are not masked, e.g. SystemErrors