cpython/Lib/pathlib
Barney Gale d716ea34cb
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.
2025-03-24 15:13:18 +00:00
..
__init__.py GH-123599: Deprecate duplicate pathname2url() implementation (#127380) 2025-03-20 00:54:36 +00:00
_os.py GH-128520: pathlib ABCs: validate magic_open() arguments (#131617) 2025-03-24 15:13:18 +00:00
types.py GH-128520: pathlib ABCs: reject empty pattern in ReadablePath.glob() (#127343) 2025-03-24 15:12:29 +00:00