We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Python version 3.11.10
Package version 0.30.0
Current behavior (bug description)
d = benedict({ "a": { "b": 23 } }) print(d) # {'a': {'b': 23}} d.a = d.a print(d) # {'a': {}}
Expected behavior Assigning d.a = d.a should not change the dictionary. I would expect the following:
d.a = d.a
d = benedict({ "a": { "b": 23 } }) print(d) # {'a': {'b': 23}} d.a = d.a print(d) # {'a': {'b': 23}}
Cheers
The text was updated successfully, but these errors were encountered:
@cdoolin thank you for reporting this.
Sorry, something went wrong.
Prevent clearing dict instance when assigning value to itself. #294
9800f21
@cdoolin this has been fixed in 0.30.2 version.
0.30.2
fabiocaccamo
No branches or pull requests
Python version
3.11.10
Package version
0.30.0
Current behavior (bug description)
Expected behavior
Assigning
d.a = d.a
should not change the dictionary. I would expect the following:Cheers
The text was updated successfully, but these errors were encountered: