]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files....
authorBenjamin Peterson <benjamin@python.org>
Tue, 12 Nov 2019 23:54:19 +0000 (15:54 -0800)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2019 23:54:19 +0000 (15:54 -0800)
commit9788f97bf69230ec6b38a483c90e88828eba9a1b
tree8aed2b627f322c342d8e0df3aa65cb050c9f78ba
parent0a8e7fde064c8fb6eb8e78752d4bcdab56643065
[3.8] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17136)

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..
(cherry picked from commit 74fa9f723f700a342e582b5ad4b51a2c4801cd1c)
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