Lines Matching defs:errors
37 and comparing bytes/bytearray with str. (-bb: issue errors)\n\
141 "PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n"
142 "PYTHONFAULTHANDLER: dump the Python traceback on fatal errors.\n"
509 Py_SetStandardStreamEncoding(const char *encoding, const char *errors)
524 /* Can't call PyErr_NoMemory() on errors, as Python hasn't been
539 if (errors) {
541 _Py_StandardStreamErrors = _PyMem_RawStrdup(errors);
1930 // Exit if encoding and errors are defined
1943 char *errors = strchr(pythonioencoding, ':');
1944 if (errors) {
1945 *errors = '\0';
1946 errors++;
1947 if (!errors[0]) {
1948 errors = NULL;
1968 if (!errors) {
1969 errors = "strict";
1973 if (config->stdio_errors == NULL && errors != NULL) {
1975 errors,
1995 const wchar_t *errors = config_get_stdio_errors(preconfig);
1996 assert(errors != NULL);
1998 status = PyConfig_SetString(config, &config->stdio_errors, errors);
2054 const wchar_t *errors;
2057 errors = L"replace";
2060 errors = L"surrogatepass";
2063 errors = L"surrogateescape";
2065 status = PyConfig_SetString(config, &config->filesystem_errors, errors);