]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17112)
authorBenjamin Peterson <benjamin@python.org>
Tue, 12 Nov 2019 22:51:34 +0000 (14:51 -0800)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2019 22:51:34 +0000 (14:51 -0800)
commit74fa9f723f700a342e582b5ad4b51a2c4801cd1c
tree0d34e5bbb923f72121243ba0c425a39c08d4d411
parentd593881505c1f4acfd17f41312b27cc898451816
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.
Lib/_pyio.py
Lib/test/test_io.py
Misc/NEWS.d/next/Library/2019-11-11-21-43-06.bpo-27805.D3zl1_.rst [new file with mode: 0644]
Modules/_io/fileio.c