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

allow view.map to work with a few more things #3282

Merged
merged 8 commits into from May 10, 2013

Conversation

minrk
Copy link
Member

@minrk minrk commented May 5, 2013

  • generators (cast to lists like muliprocessing)
  • mismatched lists (matches builtin map behavior with None-padding)

closes #3077

minrk added 5 commits May 5, 2013 15:17
there was a `continue` without a new `recv`,
which would cause an infinite loop.
allows some generators, etc.
`builtin.map` pads with None rather than failing on mismatches sizes.
@minrk
Copy link
Member Author

minrk commented May 5, 2013

depends on #3281

@ellisonbg
Copy link
Member

Code looks good. Let's add a comment to the docstring for map that summarizes how unequal length sequences work and also that generators can be used.

@minrk
Copy link
Member Author

minrk commented May 10, 2013

done

ellisonbg added a commit that referenced this pull request May 10, 2013
allow view.map to work with a few more things
@ellisonbg ellisonbg merged commit 9f313b4 into ipython:master May 10, 2013
@minrk minrk deleted the mapgenerator branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
allow view.map to work with a few more things
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.

Multiprocessing semantics in parallel.view.map
2 participants