]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-149474: use `Py_fopen` in `Binary{Reader,Writer}` for audit hook and path...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 9 May 2026 00:28:21 +0000 (02:28 +0200)
committerGitHub <noreply@github.com>
Sat, 9 May 2026 00:28:21 +0000 (00:28 +0000)
commit2b1eed460d598a30a5eab63f5f1f4d8ac8e43468
tree3503d553873d1e4ebab11167f0596115255c4217
parentbb060b82f6723110b399431843e7de7d209c3a1d
[3.15] gh-149474: use `Py_fopen` in `Binary{Reader,Writer}` for audit hook and path-like support (GH-149524) (#149586)

gh-149474: use `Py_fopen` in `Binary{Reader,Writer}` for audit hook and path-like support (GH-149524)
(cherry picked from commit 354ef336e4cd48cf0c02bc9a0c642adf5d543184)

Co-authored-by: Maurycy Pawłowski-Wieroński <maurycy@maurycy.com>
Lib/test/audit-tests.py
Lib/test/test_profiling/test_sampling_profiler/test_binary_format.py
Misc/NEWS.d/next/Security/2026-05-08-02-18-54.gh-issue-149474.ujQ-mu.rst [new file with mode: 0644]
Modules/_remote_debugging/binary_io.h
Modules/_remote_debugging/binary_io_reader.c
Modules/_remote_debugging/binary_io_writer.c
Modules/_remote_debugging/clinic/module.c.h
Modules/_remote_debugging/module.c