-
Notifications
You must be signed in to change notification settings - Fork 131
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
Added recursive update and copy methods #44
Conversation
Hi @sbillaudelle, thanks for the pull request. 👍 |
Please make sure the coveralls coverage is back to 100% (should tell you what tests you should be writing 👍) |
1 similar comment
I implemented a simple and far from complete test case. Just checks the basic functionality. @mewwts, what do you mean by dictionaries inside a list? |
I'm not quite sure why the Travis CI build failed… Does not seem to be an issue with my commits, though. |
Thanks @sbillaudelle, it seems like |
1 similar comment
Hi @sbillaudelle! The copy function was neet 👍 |
Also, if it is consistent with #25, should it be named extend instead?
At this point I think doing |
@mewwts, currently |
Oh, woops! Was a bit fast in constructing that example. I meant
Then |
Yes, you are right about that one, @mewwts! In the end, this will be a design decision. |
I agree @sbillaudelle. Just want to make sound and consistent decisions at this point. Please excuse me for needing some time with this PR. This is merely a time where addict might undergo big changes. Appreciate your thought-out comment over at #29. |
This is rebased and merged, don't know why it's not saying so. Thanks for helping out @sbillaudelle, I appreciate it and hope you continue to do so 👍 Also, I was wrong about my example. Regular dictionaries are turned into Dicts because of the setitem syntax :-). |
Added support for recursively merging dict-like stuff into a Dict instance.
… gives: