Uh oh!
There was an error while loading. Please reload this page.
gh-74033: Fix bug when Path takes and ignores **kwargs - #19632
Conversation
remilapeyre
left a comment
There was a problem hiding this comment.
Thanks for writing the fix for this issue Yurii!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-Authored-By: Rémi Lapeyre <remi.lapeyre@henki.fr>
remilapeyre
left a comment
There was a problem hiding this comment.
Hi @uriyyo, as I indicated on bpo, PurePath suffers from a similar issue, it and its subclasses cannot accept **kwargs.
Could you make the same changes to PurePath so the behaviour is the same for the whole module?
uriyyo
commented
May 21, 2020
Hi @remilapeyre |
uriyyo
commented
May 21, 2020
Hi @remilapeyre |
There was a problem hiding this comment.
Thanks @uriyyo, I just tested your changes and it looks good to me 👍
I just proposed two small things
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
uriyyo
commented
May 22, 2020
@remilapeyre I agree with your suggestions, thanks. |
✅ Deploy Preview for python-cpython-preview canceled.
|
brettcannon
left a comment
There was a problem hiding this comment.
Since "explicit is better than implicit", I think we want pathlib.Path to raise an error with keyword arguments instead of letting PurePath silently accept keyword arguments.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot
commented
Dec 16, 2022
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Co-authored-by: Brett Cannon <brett@python.org>
uriyyo
commented
Dec 17, 2022
I have made the requested changes; please review again |
bedevere-bot
commented
Dec 17, 2022
Thanks for making the requested changes! @brettcannon: please review the changes made to this pull request. |
brettcannon
left a comment
There was a problem hiding this comment.
Unfortunately we need to ask that this raises a warning for at least 2 releases.
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot
commented
Dec 23, 2022
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
uriyyo
commented
Dec 24, 2022
I have made the requested changes; please review again. |
bedevere-bot
commented
Dec 24, 2022
Thanks for making the requested changes! @brettcannon: please review the changes made to this pull request. |
Uh oh!
There was an error while loading. Please reload this page.
miss-islington
commented
Jan 14, 2023
Status check is done, and it's a success ✅. |
brettcannon
commented
Jan 14, 2023
Thanks for the PR and the patience! |
Fix a bug where
Pathtakes and ignores**kwargsby adding toPurePathclass__init__method which can take only positional arguments.Automerge-Triggered-By: GH:brettcannon