summaryrefslogtreecommitdiffstats
path: root/Python/codegen.c
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2025-01-11 19:27:47 (GMT)
committerGitHub <noreply@github.com>2025-01-11 19:27:47 (GMT)
commit22a442181d5f1ac496dac08e24fd852de404882f (patch)
treeeba5ef2eb665ab76911750ac5286a035ff29d729 /Python/codegen.c
parent0946ed25b53dddfa4eb040513720353b7214d71b (diff)
downloadcpython-22a442181d5f1ac496dac08e24fd852de404882f.zip
cpython-22a442181d5f1ac496dac08e24fd852de404882f.tar.gz
cpython-22a442181d5f1ac496dac08e24fd852de404882f.tar.bz2
GH-128520: Divide pathlib ABCs into three classes (#128523)
In the private pathlib ABCs, rename `PurePathBase` to `JoinablePath`, and split `PathBase` into `ReadablePath` and `WritablePath`. This improves the API fit for read-only virtual filesystems. The split of `PathBase` entails a similar split of `CopyWorker` (implements copying) and the test cases in `test_pathlib_abc`. In a later patch, we'll make `WritablePath` inherit directly from `JoinablePath` rather than `ReadablePath`. For a couple of reasons, this isn't quite possible yet.
Diffstat (limited to 'Python/codegen.c')
0 files changed, 0 insertions, 0 deletions