summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2019-11-12 22:51:34 (GMT)
committerGitHub <noreply@github.com>2019-11-12 22:51:34 (GMT)
commit74fa9f723f700a342e582b5ad4b51a2c4801cd1c (patch)
tree0d34e5bbb923f72121243ba0c425a39c08d4d411 /Misc/NEWS.d
parentd593881505c1f4acfd17f41312b27cc898451816 (diff)
downloadcpython-74fa9f723f700a342e582b5ad4b51a2c4801cd1c.zip
cpython-74fa9f723f700a342e582b5ad4b51a2c4801cd1c.tar.gz
cpython-74fa9f723f700a342e582b5ad4b51a2c4801cd1c.tar.bz2
closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17112)
This change, which follows the behavior of C stdio's fdopen and Python 2's file object, allows pipes to be opened in append mode.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2019-11-11-21-43-06.bpo-27805.D3zl1_.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-11-11-21-43-06.bpo-27805.D3zl1_.rst b/Misc/NEWS.d/next/Library/2019-11-11-21-43-06.bpo-27805.D3zl1_.rst
new file mode 100644
index 0000000..37be6a5
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-11-11-21-43-06.bpo-27805.D3zl1_.rst
@@ -0,0 +1,2 @@
+Allow opening pipes and other non-seekable files in append mode with
+:func:`open`.