Lines Matching defs:errors
209 static void check_stdio_details(const char *encoding, const char * errors)
217 if (errors) {
218 printf("Expected errors: %s\n", errors);
220 printf("Expected errors: default\n");
224 Py_SetStandardStreamEncoding(encoding, errors);
228 "print('stdin: {0.encoding}:{0.errors}'.format(sys.stdin));"
229 "print('stdout: {0.encoding}:{0.errors}'.format(sys.stdout));"
230 "print('stderr: {0.encoding}:{0.errors}'.format(sys.stderr));"
241 printf("--- Set errors only ---\n");
245 printf("--- Set encoding and errors ---\n");