]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-135648: Document that `shutil.copyfileobj` doesn't flush (GH-135737) (...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 24 Jun 2025 01:22:07 +0000 (03:22 +0200)
committerGitHub <noreply@github.com>
Tue, 24 Jun 2025 01:22:07 +0000 (01:22 +0000)
commit148f31f2d8301e7a4a2f4bc31c90432839c4e096
treee2e3d4ad3f67b7ed8deb25ccdc6f044137ddfe62
parent7227aa4bfafaa519867ad59e697c47e78c7a643f
[3.14] gh-135648: Document that `shutil.copyfileobj` doesn't flush (GH-135737) (#135873)

Adds a note about flush/close on copyfileobj, and updates
the Emscripten build script to follow documented advice.
(cherry picked from commit 34393cbdd46fd965de86f1e7bc89ab111f506723)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Doc/library/shutil.rst
Tools/wasm/emscripten/__main__.py