summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bytes.py
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2025-02-16 00:37:26 (GMT)
committerGitHub <noreply@github.com>2025-02-16 00:37:26 (GMT)
commita7d41a89474a07ce2b96943ea3f152e0dc757240 (patch)
tree7d8e309c0498a90e4b350e5f1653c8a8b93d2f58 /Lib/test/test_bytes.py
parent359c7dde3bb074e029686913f531457eb121d1dd (diff)
downloadcpython-a7d41a89474a07ce2b96943ea3f152e0dc757240.zip
cpython-a7d41a89474a07ce2b96943ea3f152e0dc757240.tar.gz
cpython-a7d41a89474a07ce2b96943ea3f152e0dc757240.tar.bz2
GH-128520: Subclass `abc.ABC` in `pathlib._abc` (#128745)
Convert `JoinablePath`, `ReadablePath` and `WritablePath` to real ABCs derived from `abc.ABC`. Make `JoinablePath.parser` abstract, rather than defaulting to `posixpath`. Register `PurePath` and `Path` as virtual subclasses of the ABCs rather than deriving. This avoids a hit to path object instantiation performance. No change of behaviour in the public (non-abstract) classes.
Diffstat (limited to 'Lib/test/test_bytes.py')
0 files changed, 0 insertions, 0 deletions