Skip to content

Commit

Permalink
pythonGH-110109: Move pathlib ABCs to new pathlib._abc module. (pyt…
Browse files Browse the repository at this point in the history
…hon#112881)

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 authored and aisk committed Feb 11, 2024
1 parent c1327f7 commit ce60e11
Show file tree
Hide file tree
Showing 3 changed files with 518 additions and 511 deletions.
Loading

0 comments on commit ce60e11

Please sign in to comment.