summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJendrik Seipp <jendrikseipp@gmail.com>2020-01-01 22:21:43 (GMT)
committerAntoine Pitrou <antoine@python.org>2020-01-01 22:21:43 (GMT)
commit5b9077134cd0535f21905d5f5195847526cac99c (patch)
tree4bed1fd2a5350e003816b1cc05a474d903efedcc /Misc
parent46abfc1416ff8e450999611ef8f231ff871ab133 (diff)
downloadcpython-5b9077134cd0535f21905d5f5195847526cac99c.zip
cpython-5b9077134cd0535f21905d5f5195847526cac99c.tar.gz
cpython-5b9077134cd0535f21905d5f5195847526cac99c.tar.bz2
bpo-13601: always use line-buffering for sys.stderr (GH-17646)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-12-17-22-32-11.bpo-13601.vNP4LC.rst6
2 files changed, 7 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 5ecbac1..d3e683d 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1510,6 +1510,7 @@ Steven Scott
Nick Seidenman
Michael Seifert
Žiga Seilnacht
+Jendrik Seipp
Michael Selik
Yury Selivanov
Fred Sells
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-12-17-22-32-11.bpo-13601.vNP4LC.rst b/Misc/NEWS.d/next/Core and Builtins/2019-12-17-22-32-11.bpo-13601.vNP4LC.rst
new file mode 100644
index 0000000..f2c9495a
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-12-17-22-32-11.bpo-13601.vNP4LC.rst
@@ -0,0 +1,6 @@
+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.)