| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
The fix here is good and important.
However, this does not address the central issue brought up in bpo-37970, regarding this line of the docs being misleading, since the parts of the netloc are available as additional attributes on the returned named-tuple object:
The components are not broken up in smaller parts (for example, the network location is a single string)
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.
You're right, don't know why I missed this part, fixed for both urlsplit and parse. |
Sorry, something went wrong.
|
I have made the requested changes; please review again |
Sorry, something went wrong.
|
Thanks for making the requested changes! @taleinat: please review the changes made to this pull request. |
Sorry, something went wrong.
There was a problem hiding this comment.
I think this change to the documentation is still not clear enough. Writing "The components are broken up into smaller parts (for example, ...)" is confusing, since for example the query is not broken down into its parts.
What really happens is that the parts as described in the beginning are used as-is for the named-tuple fields. Additionally, only the netloc is broken down into username, password, hostname, and port, and those are added as additional attributes on the returned object. Further, these extra attributes are only accessible by name, but not by index - they are not technically part of the named-tuple's fields.
We need to convey this clearly and concisely, which needs some more thought. The currently suggested wording doesn't achieve this.
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.
|
@taleinat I've changed one description, once we'll decide on the format I'll clone for the other function |
Sorry, something went wrong.
|
Apologies for the delay, @idomic. What you've written is better, I like the direction :) I suggest omitting the first sentence, which I find redundant, changing the order of the sentences, and changing "expanded" to "decoded":
What do you think? |
Sorry, something went wrong.
|
@taleinat Agree, I like the decoded change, and the first paragraph. Additionally, the netloc property is broken down into these additional attributes in the returned object: username, password, hostname, and port. |
Sorry, something went wrong.
|
I have made the requested changes; please review again |
Sorry, something went wrong.
|
Thanks for making the requested changes! @taleinat: please review the changes made to this pull request. |
Sorry, something went wrong.
There was a problem hiding this comment.
Looking into this years old PR.
The function docstrings were adjusted in #16458. What remains are updates to the reference docs (this PR).
As I see it, the author has done all the fixes requested.
Added a few comments/suggestions. But in general, it looks good to me.
Maybe @zware @taleinat @encukou could have a look? @idomic you still around to potentiall adjust?
(Looking into this as part of EuroPython 2024 sprint - I'm just a user, not maintainer, fyi.)
Sorry, something went wrong.
There was a problem hiding this comment.
Let's reboot this PR and move into a mergeable state.
Sorry, something went wrong.
|
Go ahead! |
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.