Closed PFython closed 3 years ago
It is tricky to try and combine properties with setattr and getattr and getattribute. This stackoverflow article describes it quite well: https://stackoverflow.com/questions/15750522/class-properties-and-setattr
I reran this scenario against version 1.8.1 and it worked fine! Adding test to test_cleverdict.py and closing issue. Yay!
In using a CleverDict instance to hold passwords (in conjunction with
keyring
) I noticed the setter and delete decorators didn't appear to be working:So I'm just wondering if this is something that has to be worked around, a limitation of
CleverDict
, or if there's something even more Clever we can do inCleverDict
itself so that @x.setter and @x.deleter work as expected right out of the box?