summaryrefslogtreecommitdiffstats
path: root/Python/crossinterp_exceptions.h
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2025-03-24 15:13:18 (GMT)
committerGitHub <noreply@github.com>2025-03-24 15:13:18 (GMT)
commitd716ea34cb8a105e8e39a1ddfd610c3c0f11a0e7 (patch)
treea81479395ecbdbb6c331f8c4ea3bf65130ad1e50 /Python/crossinterp_exceptions.h
parentfbfb0e1f6efae7055f7420c999ad6256e10d6b62 (diff)
downloadcpython-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