Skip to content

urls: The API is BROKE (I did it) and I need to make a solution #429

@tony

Description

@tony

#428 uncovered .defaults that URL-like classes use overwrite.

The API itself is like this:

{Git,Svn,Hg}URL have a __post_init__ that iterate over .matches.

  1. It doesn't stop when it finds a match
  2. So other matchers with .defaults overwrite
  3. There's no weighting / preference of matches over another

My tasks: I will need to figure out the above, and write tests and doctest examples to "shake out" similar usage-type cases like this that aren't catchable in a vacuum

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