New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-74033: Fix bug when Path takes and ignores **kwargs #19632
base: main
Are you sure you want to change the base?
Conversation
Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst
Outdated
Show resolved
Hide resolved
Co-Authored-By: Rémi Lapeyre <remi.lapeyre@henki.fr>
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?
Hi @remilapeyre |
Hi @remilapeyre |
Thanks @uriyyo, I just tested your changes and it looks good to me
I just proposed two small things
Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
@remilapeyre I agree with your suggestions, thanks. |
|
Name | Link |
---|---|
8ef2e9e | |
https://app.netlify.com/sites/python-cpython-preview/deploys/638fc5db834885000837776c |
Misc/NEWS.d/next/Library/2020-04-18-17-45-03.bpo-29847.Uxtbq0.rst
Outdated
Show resolved
Hide resolved
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>
I have made the requested changes; please review again |
Thanks for making the requested changes! @brettcannon: please review the changes made to this pull request. |
Fix bug when
Path
takes and ignores**kwargs
by adding toPurePath
class__init__
method which can take only positional arguments.#74033