For example, -p 80+8080 and ssh://user:P@55w0rd!@127.0.0.1:22 leads to duplicated tasks (for each HTTP port previously).
See test_uri_precedence for details. One solution is to convert tasks back to strings and then use sets to deduplicate. With the added cost of converting the string (splitting) back to digestible form in the executor task; should be faster than searching lists or hashing their elements anyway.
For example,
-p 80+8080
andssh://user:P@55w0rd!@127.0.0.1:22
leads to duplicated tasks (for each HTTP port previously).See
test_uri_precedence
for details. One solution is to convert tasks back to strings and then use sets to deduplicate. With the added cost of converting the string (splitting) back to digestible form in the executor task; should be faster than searching lists or hashing their elements anyway.