diff options
author | Barney Gale <barney.gale@gmail.com> | 2025-03-24 15:13:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-24 15:13:18 (GMT) |
commit | d716ea34cb8a105e8e39a1ddfd610c3c0f11a0e7 (patch) | |
tree | a81479395ecbdbb6c331f8c4ea3bf65130ad1e50 /Python/crossinterp_exceptions.h | |
parent | fbfb0e1f6efae7055f7420c999ad6256e10d6b62 (diff) | |
download | cpython-d716ea34cb8a105e8e39a1ddfd610c3c0f11a0e7.zip cpython-d716ea34cb8a105e8e39a1ddfd610c3c0f11a0e7.tar.gz cpython-d716ea34cb8a105e8e39a1ddfd610c3c0f11a0e7.tar.bz2 |
GH-128520: pathlib ABCs: validate `magic_open()` arguments (#131617)
When `pathlib._os.magic_open()` is called to open a path in binary mode,
raise `ValueError` if any of the *encoding*, *errors* or *newline*
arguments are given. This matches the `open()` built-in.
Diffstat (limited to 'Python/crossinterp_exceptions.h')
0 files changed, 0 insertions, 0 deletions