Converts a full dict into a more Pythonic structure. In particular ensure that all list-like structures are handled as Python lists#2
Closed
mwkuster wants to merge 4 commits intonathanwalsh:masterfrom
Conversation
Author
|
Merged the new test with existing tests, but 14 of the existing tests fail for me with python3 (they work with python2). The added test test_full_dict_to_list works with both python2 and python3 |
Author
|
Should be a pull request against https://github.com/mitsuhiko/phpserialize, now recreated as |
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.
In many ways a recursive version of dict_to_list, taking a full datastructure and cleaning up any pseudo-lists found in there