cpython/Lib/pathlib
Barney Gale 574291963f
pathlib ABCs: drop partial, broken, untested support for `bytes` paths. (#114777)
Methods like `full_match()`, `glob()`, etc, are difficult to make work with
byte paths, and it's not worth the effort. This patch makes `PurePathBase`
raise `TypeError` when given non-`str` path segments.
2024-01-31 00:59:33 +00:00
..
__init__.py pathlib ABCs: raise `UnsupportedOperation` directly. (#114776) 2024-01-31 00:38:01 +00:00
_abc.py pathlib ABCs: drop partial, broken, untested support for `bytes` paths. (#114777) 2024-01-31 00:59:33 +00:00