]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files....
authorBenjamin Peterson <benjamin@python.org>
Tue, 12 Nov 2019 23:34:43 +0000 (15:34 -0800)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2019 23:34:43 +0000 (15:34 -0800)
commitb8b3e4377ec38c7d64570afabbd0923a51f0666c
tree2a5d348af225d3d7f0df3fe9fb109ad12889f9b6
parent42b619ac9aa7f889dcd8eeb14d813f17468454d9
[3.7] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17137)

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