Skip to content

Sorted for python 3#57

Open
anderspitman wants to merge 2 commits into
rachelss:masterfrom
anderspitman:sorted-for-python-3
Open

Sorted for python 3#57
anderspitman wants to merge 2 commits into
rachelss:masterfrom
anderspitman:sorted-for-python-3

Conversation

@anderspitman
Copy link
Copy Markdown
Contributor

In order to generate test data that could be compared to a python 3 run of sisrs, a few changes were necessary. This mostly had to do with sorting things to make ordering deterministic. If it's decided to merge this, please look over the changes carefully to verify it won't change any important behavior or drastically affect performance or memory requirements.

Need to sort dicts in order to generate deterministic test data
that can be consumed by Python 3.
@anderspitman anderspitman mentioned this pull request Mar 7, 2018
@reedacartwright
Copy link
Copy Markdown
Contributor

Alternatively, the tests can do the sorting, correct, instead of changing the algorithm?

@anderspitman
Copy link
Copy Markdown
Contributor Author

@reedacartwright that could get quite involved. Not even sure how to approach it since most of the command perform multiple steps for a single output.

I think the changes here are minimal enough to be worth the risk. As far as I know they don't represent any semantic change in the output, only ordering.

@anderspitman anderspitman mentioned this pull request Mar 29, 2018
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.

2 participants