Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add defaults.deepcopy function. #44851
What does this PR do?
What issues does this PR fix or reference?
In many case there are multi level of defaults, e.g. global, group, and specific.
Here is an arbitrary example:
Allow to make deepcopy of objects.
Commits signed with GPG?
Nope, that's actually the current behavior with normal copy because
The defaults will be overwritten within 1st iteration.
Here is an example:
That's why it should make a real copy inside the loop.
@AAbouZaid It looks like your new test isn't passing though. Can you take another look?