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.
B
Barney Gale committed
574291963f6b0eb7da3fde1ae9763236e7ece306
Parent: 1667c28
Committed by GitHub <noreply@github.com>
on 1/31/2024, 12:59:33 AM