Home | History | Annotate | Download | only in Python

Lines Matching defs:stderr

43 _Py_IDENTIFIER(stderr);
415 /* Set up a preliminary stderr printer until we have enough
417 pstderr = PyFile_NewStdPrinter(fileno(stderr));
419 Py_FatalError("Py_Initialize: can't set preliminary stderr");
461 fprintf(stderr, "'import warnings' failed; traceback:\n");
488 /* Flush stdout and stderr */
583 /* Flush sys.stdout and sys.stderr */
614 /* Flush sys.stdout and sys.stderr (again, in case more was printed) */
653 dump_counts(stderr);
667 _Py_PrintReferences(stderr);
732 _Py_PrintReferenceAddresses(stderr);
738 _PyObject_DebugMallocStats(stderr);
819 /* Set up a preliminary stderr printer until we have enough
821 pstderr = PyFile_NewStdPrinter(fileno(stderr));
823 Py_FatalError("Py_Initialize: can't set preliminary stderr");
1032 fprintf(stderr, "Failed to import the site module\n");
1138 sys.stdout and sys.stderr: translate "\n" to "\r\n". */
1142 sys.stdout and sys.stderr: don't translate newlines (use "\n"). */
1179 /* Initialize sys.stdin, stdout, stderr and builtins.open */
1256 /* Under some conditions stdin, stdout and stderr may not be connected
1277 /* Set sys.stderr, replaces the preliminary stderr */
1278 fd = fileno(stderr);
1279 std = create_stdio(iomod, fd, 1, "<stderr>", encoding, "backslashreplace");
1283 /* Same as hack above, pre-import stderr's codec to avoid recursion
1284 when import.c tries to write to stderr in verbose mode. */
1332 fputc('\n', stderr);
1333 fflush(stderr);
1368 /* sys.stderr is not set yet or set to None,
1390 /* sys.stderr may be buffered: call sys.stderr.flush() */
1405 const int fd = fileno(stderr);
1420 fprintf(stderr, "Fatal Python error: %s\n", msg);
1421 fflush(stderr); /* it helps in Windows debug build */
1435 /* Flush sys.stdout and sys.stderr */
1531 fflush(stderr);