Skip to content

Commit

Permalink
pythonGH-110109: Move pathlib ABCs to new pathlib._abc module.
Browse files Browse the repository at this point in the history
Move `_PurePathBase` and `_PathBase` to a new `pathlib._abc` module, and
drop the underscores from the class names.

Tests are mostly left alone in this commit, but they'll be similarly split
in a subsequent commit.

The `pathlib._abc` module will be published as an independent PyPI package
(similar to how `zipfile._path` is published as `zipp`), to be refined
and stabilised prior to its possible addition to the standard library.
  • Loading branch information
barneygale committed Dec 8, 2023
1 parent 76929fd commit 33f9af1
Show file tree
Hide file tree
Showing 3 changed files with 518 additions and 511 deletions.
Loading

0 comments on commit 33f9af1

Please sign in to comment.