Repository navigation
MAINT: Combine legacy sections of _formatArray - #10143
Merged
Merged
Conversation
eric-wieser
commented
Dec 1, 2017
Member
Author
There was a problem hiding this comment.
No need, we already know that rank is not 0 or 1, and if it's any other value < 1 we have bigger problems.
eric-wieser
commented
Dec 1, 2017
Member
Author
There was a problem hiding this comment.
We already called rstrip above, so no point doing it again
eric-wieser
force-pushed
the
combine-formatArray-legacy
branch
2 times, most recently
from
December 1, 2017 05:26
8a22a98 to
753291c
Compare
Member
|
Looks good, just needs a rebase. |
eric-wieser
force-pushed
the
combine-formatArray-legacy
branch
from
December 1, 2017 16:50
753291c to
4c28c8f
Compare
Member
Author
|
Rebased |
Member
Author
|
Tests now passing |
Member
|
All right, merging. Nice cleanup! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pulls together the changes in #10120, #9815, and #10129 into a more readable fix.
Now it's pretty easy to see the ways in which the legacy behavior was strange.