Skip to content

Correct comparison with urlparse #183

Description

@merwok

Hello!

Just a thought from reading your docs: it’s not quite accurate to say that urlparse doesn‘t have a URL type, given that it does return a named tuple, with instances being immutable and having a _replace method for derivation.

It’s not a full modern class with nice methods, and it doesn’t change the fact that there is no validation in urllib.parse, but it’s better than strings or dicts!

Ref: https://docs.python.org/3/library/urllib.parse.html#structured-parse-results

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions