Closed kenodegard closed 6 months ago
Well, that's why is called deepfreeze. If you want to freeze only the main object, do
d = frozendict.frozendict(o)
But frozendict
will only make the outter most object immutable.
Isn't the goal of deepfreeze
to create a recursively immutable object?
I'm not understanding why deepfreeze
should have any affect the original data structure.
I'm not understanding why
deepfreeze
should have any affect the original data structure.
Can you please provide the expected output?
Sorry for misunderstanding, the patch will be released in v2.4.2
v2.4.2 released on Pypi and on Conda
Welcome! You should write in your Bug Report:
OS version (https://www.google.com/search?channel=fs&q=check+os+version&ie=utf-8&oe=utf-8): macOS 14.3
Python3 version (python3 -V -V): Python 3.12.2
Steps to reproduce:
Actual result (with the python stack trace if present):
I expected
deepfreeze
to leave the original object untouched.