summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2023-11-17 15:32:50 (GMT)
committerGitHub <noreply@github.com>2023-11-17 15:32:50 (GMT)
commit2dbb2e035b968811ddc00317ccf0cadafacffe1c (patch)
treec99481dd70112cdff2192614811e76e81a25575f /.github
parent7c50800241997f93647a57354c052de2cec25d04 (diff)
downloadcpython-2dbb2e035b968811ddc00317ccf0cadafacffe1c.zip
cpython-2dbb2e035b968811ddc00317ccf0cadafacffe1c.tar.gz
cpython-2dbb2e035b968811ddc00317ccf0cadafacffe1c.tar.bz2
GH-110109: Churn `pathlib.PurePath` methods (#112012)
Re-arrange `pathlib.PurePath` methods in source code. No other changes. The `PurePath` implementations of certain special methods, such as `__eq__()` and `__hash__()`, are not usually applicable to user subclasses of `_PathBase`. To facilitate their removal, another patch will split the `PurePath` class into `_PurePathBase` and `PurePath`, with the latter providing these special methods. This patch prepares the ground for splitting `PurePath`. It's similar to e8d77b0, which preceded splitting `Path`. By churning the methods here, subsequent patches will be easier to review and less likely to break things.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions