Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for automatic permutation of the args of a candidate #8

Open
2 tasks
alexamici opened this issue Jan 26, 2016 · 0 comments
Open
2 tasks
Labels
Milestone

Comments

@alexamici
Copy link
Collaborator

alexamici commented Jan 26, 2016

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:

  • candidate(*args) could test [object(*perm) for perm in itertools.permutations(args)].
  • Extend the above to use values in args for kwargs above len(args).
@alexamici alexamici self-assigned this Feb 2, 2016
@alexamici alexamici added this to the Long term milestone Feb 2, 2016
@alexamici alexamici removed their assignment Feb 2, 2016
@alexamici alexamici changed the title Add support for automatic permutation of the args of a *wish* Add support for automatic permutation of the args of a candidate Jul 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant