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

Generator support #83

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

fcracker79
Copy link

The pull request include support for repeatable generator functions, that is, generator functions that can be invoked many times.
I have implemented 2 different strategies:

  1. Full fetch of data: this is useful if you cannot preserve a deterministic order of the generated items; works only if the generator does not produce many elements
  2. Real generation of data: this works only on deterministic generators, that is, the order of the generated elements are always the same. Works pretty well with very long generations of items

I have also added Python 3.6 to the travis environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant