Closed jayaddison closed 1 month ago
@AA-Turner changelog entry required, do you think?
There's no visible behaviour change to users so I shouldn't think one is required.
Thank you @jayaddison!
A
Brilliant! Thank you for the code reviews!
It seems 'local' is currently unused, by the way.
Mmm. As is the linkstat['text']
assignment.
For local
-- perhaps that should become part of a separate link property that indicates whether each link is local
or remote
. I'll think about that and file a change suggestion / feature description at some point.
Feature or Bugfix
Purpose
[el]if...result.status == <status>
conditions in part of thelinkcheck
code expose an intended behaviour: each status code implies that the code should follow one particular code path to handle the result. This seems like a good fit for amatch
clause, available from Python3.11+.Detail
linkcheck
status codes using amatch
statement.w=1
query-string parameter, if using the GitHub web comparison interface).Relates