GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — GH-89812: Add `pathlib._PurePathExt` by barneygale · Pull Request #104810 · python/cpython Conversation
|
|
The test naming is pretty janky. #104829 will help. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Éric <[email protected]>
This reverts commit d1b23c8.
There was an error while loading. Please reload this page.
Co-authored-by: Alex Waygood <[email protected]>
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Would anyone be willing to review #104829? It blocks this PR. (please and thank you!) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
#104829 has landed, so test naming should be much improved! Think this is ready for review again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
pathlib._BasePurePathpathlib._PurePathExt
There was an error while loading. Please reload this page.
|
I've revised the implementation such that the methods are actually removed from (Contrast this with the earlier proposed hierarchy where The methods are moved to a new This change will not be visible to users who try to instantiate It will be visible to users who subclass |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Here's a version of the diagram that includes the private |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Just a note that I’m meditating on https://hynek.me/articles/python-subclassing-redux/ and linked articles at the moment and wondering if controlling subclass explosion in pathlib should be a guideline 🙂 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Oh I totally agree. I'd prefer to add only And if I were to do pathlib over again, I'd scrap the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I've converted this back to a draft as I'm still in two minds about how to implement this. It's possible I'll add |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.