cpython/Misc/NEWS.d/next/Core and Builtins/2019-12-17-22-32-11.bpo-136...

7 lines
296 B
ReStructuredText

By default, ``sys.stderr`` is line-buffered now, even if ``stderr`` is
redirected to a file. You can still make ``sys.stderr`` unbuffered by
passing the :option:`-u` command-line option or setting the
:envvar:`PYTHONUNBUFFERED` environment variable.
(Contributed by Jendrik Seipp in bpo-13601.)