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 — bpo-39659: Route calls from pathlib.Path to os.getcwd() via the path accessor by barneygale · Pull Request #18834 · python/cpython Conversation
|
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This change should have no functional effect beyond the addition of |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is a quirky way to implement it. If the accessor becomes tied to the class rather than specific instances, perhaps it should become a class-level attribute?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It's very similar to how home() is implemented immediately below.
Agree generally that the accessor should be a class attribute and not an instance attribute.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I've replaced cls() with cls in this method, and home() for consistency.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Well, that didn't work at all! Looks like:
_accessor is set in _init(), at least until bpo-40038: pathlib: remove partial support for preserving accessor when modifying a path #19342 lands_flavour is set in __new__().Reverting to previous patch (the one you reviewed).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
cfc20dc to
05e73d0
Compare
|
@barneygale This one looks like the conflict is meaningful? (And it's new because I merged one of your other changes, I think) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
05e73d0 to
74abd98
Compare
|
Thank you! Rebased :-) |
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.