The signature of a function is an implementation detail and it would be nice it the candidate object could try different kind of permutations of args so that it can discover a matching callable independently if the detail of the signature.
For example:
The signature of a function is an implementation detail and it would be nice it the
candidateobject could try different kind of permutations of args so that it can discover a matching callable independently if the detail of the signature.For example:
candidate(*args)could test[object(*perm) for perm in itertools.permutations(args)].argsforkwargsabovelen(args).