| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
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.
|
@JelleZijlstra I requested your review as you previously approved #104243, which did a similar thing to pathlib.Path. Thank you! |
Sorry, something went wrong.
|
Thanks! |
Sorry, something went wrong.
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.
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.
| Back | FazBrowse Home | New Git URL |
Re-arrange pathlib.PurePath methods in source code. Ditto for PurePathTest. 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.