-
Notifications
You must be signed in to change notification settings - Fork 15
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
TODO list #34
Comments
Type annotations? Also, Python 3.6 is end of life in 3 weeks, so it might simplify annotations to use Python 3.7 features immediately. |
@NeilGirdhar It seems to me that type annotations works with |
+1 for deepfreeze (#30). I need to determine if list items are unique, i.e. if len([a, b, c]) == len(set([a, b, c])) where a, b, c can be anything including nested dicts.
Since a hashable/frozen dict isn't already part of standard Python for some reason, thank you so much for creating it, and TIA for making it deep. |
To be honest, I already implemented it: The problem is I would add a way to register your own mutable type with a callable that makes it immutable. And tests. A lot of tests. |
New features for frozendict:
Bugs:
__ror__
in C Extension #71Internal cleanup:
Py_TPFLAGS_IMMUTABLETYPE
for CPython >= 3.10✅ DONE ✅
__class_getitem__
: https://github.com/python/cpython/pull/28450/files__reduce__
implfrozendict
untouched if it's hashable. But it seems that the trick to remove the function if it's not hashable and let the default deepcopy to fire does not work. Check how tuple works.cibuildwheel
working on Debian ([BUG] v2.1.2 segfaults on Python 3.7 on Debian #41)test
dirThe text was updated successfully, but these errors were encountered: