| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Hey @zware, would love to get feedback and close this PR. Ido |
Sorry, something went wrong.
|
Hi @idomic, sorry I haven't had time to get back to this yet. Some quick high-level feedback, though:
|
Sorry, something went wrong.
|
@zware fixed all of the above 👍 |
Sorry, something went wrong.
There was a problem hiding this comment.
Still need to update urlparse as well.
Sorry, something went wrong.
There was a problem hiding this comment.
Updated :func:`urllib.parse.urlsplit` docstring.
Sorry, something went wrong.
|
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 I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request. |
Sorry, something went wrong.
|
@idomic, please address the review comments. Thanks! |
Sorry, something went wrong.
Added the documentation for the parseurl function as well. |
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #16458 +/- ##
===========================================
+ Coverage 82.20% 83.20% +0.99%
===========================================
Files 1958 1571 -387
Lines 589739 414730 -175009
Branches 44456 44456
===========================================
- Hits 484793 345073 -139720
+ Misses 95287 60016 -35271
+ Partials 9659 9641 -18
Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
Hey @taleinat adding you to accelerate this PR |
Sorry, something went wrong.
|
Hi @idomic, It seems you've rebased your branch on a later commit on the master branch, and then merged that with the existing PR branch when pushing it. For future reference, for PR branches, I highly recommend only merging rather than rebasing. If you have rebased, though, you should force-push the rebased branch (i.e. git push -f origin <branch-name>). In this case, I suggest you (hard-) reset your branch to the commit before the merge, make sure it's okay, and then force-push that. |
Sorry, something went wrong.
|
Thanks @taleinat Done, let's see if the CI passes |
Sorry, something went wrong.
|
@idomic, looks good now! For future reference: Please leave a comment with the words I have made the requested changes; please review again after a committer has requested changes; this will trigger a bot to update the state tags and notify the reviewer. |
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry, something went wrong.
There was a problem hiding this comment.
This is implied directly by the previous sentence, since this is the major feature of named tuples. IMO it would be better to omit this extra sentence. (Same goes for urlsplit() below.)
Sorry, something went wrong.
There was a problem hiding this comment.
Copy/paste error here: This returns a ParseResult object.
Sorry, something went wrong.
There was a problem hiding this comment.
I find this first line less clear than the original (though it is technically correct.)
How about:
"""Parse a URL into 6 components:
<scheme>://<netloc>/<path>;<params>?<query>#<fragment>
The result is a ParseResult object, which is a named 6-tuple with
fields corresponding to the above.
...This then followed by the later description of the other input parameters and the final note regarding % escapes not being expanded.
(The same goes for urlsplit() as well.)
Sorry, something went wrong.
There was a problem hiding this comment.
This PR changes the doc-strings, not "the documentation", which is what goes up to docs.python.org.
Also, IMO this doesn't warrant a NEWS entry, so it can and should be removed. I'm adding the skip news label to allow that.
Sorry, something went wrong.
There was a problem hiding this comment.
@idomic, please remove this file.
Sorry, something went wrong.
|
@taleinat Thanks for all the feedback, I noticed I forgot the space line after the doc-string summary. |
Sorry, something went wrong.
|
I have made the requested changes; please review again |
Sorry, something went wrong.
There was a problem hiding this comment.
This will actually be a ParseResult or a ParseResultBytes object, depending on the type of the url parameter. It will never be a SplitResult object.
Sorry, something went wrong.
There was a problem hiding this comment.
This will actually be a SplitResult or a SplitResultBytes object, depending on the type of the url parameter.
Sorry, something went wrong.
There was a problem hiding this comment.
Almost done! Two more comments, relevant to both doc-strings.
(Also please remove the NEWS entry file.)
Sorry, something went wrong.
There was a problem hiding this comment.
The parameter is named "url" rather than "URL", let's keep the correct spelling.
| depending on the type of the URL parameter. | |
| depending on the type of the url parameter. |
Sorry, something went wrong.
There was a problem hiding this comment.
How about, rather than this and the previous paragraphs being separate, something like:
"The result is a named 6-tuple with fields corresponding to the above. It is either a ParseResult or a ParseResultBytes object, depending on the type of the URL parameter."
Sorry, something went wrong.
There was a problem hiding this comment.
It's shorter, changed to this version
Sorry, something went wrong.
There was a problem hiding this comment.
@idomic, please remove this file.
Sorry, something went wrong.
|
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 I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request. |
Sorry, something went wrong.
|
I have made the requested changes; please review again |
Sorry, something went wrong.
|
@taleinat Should I just cherry pick and create a new PR? I see some of the ci fails even after pulling from the master latest version |
Sorry, something went wrong.
|
@idomic, please don't create a new PR, and there's no need. What you should do is:
|
Sorry, something went wrong.
|
Thanks @taleinat , I have made the requested changes; please review again |
Sorry, something went wrong.
|
@idomic, it seems something went very wrong on your end with this PR's branch. I've gone ahead and force-pushed a fixed version, with a single commit. If you want to check it out locally, note that you'll need to delete your local branch (or rename it to back it up) before pulling this branch. |
Sorry, something went wrong.
|
Many thanks for the PR, @idomic, and for your patience repeatedly waiting for a review and making the requested changes! I assure you that for changes such as this, it usually doesn't take this long nor as many iterations as it took us here. I hope this experience doesn't discourage you from continuing to contribute to the project! |
Sorry, something went wrong.
|
@taleinat Not at all, I'm happy to learn and help! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
https://bugs.python.org/issue37970