]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129205: Add os.readinto() API for reading data into a caller provided buffer ...
authorCody Maloney <cmaloney@users.noreply.github.com>
Sun, 26 Jan 2025 13:21:03 +0000 (05:21 -0800)
committerGitHub <noreply@github.com>
Sun, 26 Jan 2025 13:21:03 +0000 (14:21 +0100)
commit1ed44879686c4b893d92a89d9259da3cbed6e166
tree347534ba9b8705f30e4735dc7794bb45010ec254
parent0ef8d470b79889de065e94cecd0ee01e45037d3a
gh-129205: Add os.readinto() API for reading data into a caller provided buffer (#129211)

Add a new OS API which will read data directly into a caller provided
writeable buffer protocol object.

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/library/os.rst
Doc/whatsnew/3.14.rst
Lib/test/_test_eintr.py
Lib/test/test_os.py
Misc/NEWS.d/next/Library/2025-01-22-16-54-25.gh-issue-129205.FMqrUt.rst [new file with mode: 0644]
Modules/clinic/posixmodule.c.h
Modules/posixmodule.c