Repository navigation
Conversation
| assert url.username == "jo@email.com" | ||
| assert url.password == "a secret" | ||
| assert url.userinfo == b"jo%40email.com:a%20secret" | ||
| assert str(url) == "https://muller.de:1234/pa%20th?search=ab#anchorlink" |
|
Righty. First up, thank you! Really appreciating seeing this neat, well considered, and properly scoped PR. I've also added a more note around decorators/parameterize. That's a bit more of an individual preference really. Not a blocker though an overall style consideration. A personal note... I am still finding it challenging to see us moving forward with the project unless we've properly addressed team balance. We've had a couple of comment contributions and they've been from dudes, that's okay an' all, simply that I'm not going to be able to continue working on this unless we absolutely prioritise gender representation right from the start. I realise this is obvious and boorish to have to say so explicitly, though it is how it is. I don't know how we'll deal with this exactly, though clearly ties in with whatever we choose to do with respect to funding etc. Short version is simply... let's not merge anything from new team members until/unless we're 100% confident we can ensure we're not about to fall into the same ol' dynamics. with thanks 🙂 |
Thanks, Kim, for the comments. I completely get your concerns. Thanks for being transparent about them. I do think it’s important to think about how the team grows. |
Removed
username,password,userinfoattributes and keyword arguments from URL, includingcopy_with().Userinfo URLs are still supported, but the credentials are dropped on parse and excluded from the resulting URL:
Removed code that was encoding usernames and passwords.
Updated the docstrings and the related examples.
Added tests that
userinfois ignored and removed properties and arguments are not accepted.221 tests passed, plus ruff and mypy checks.
Closes #122