d = {"test": 0}
d["test"]+=1
>>> Augmented assignment of object items and slices is not allowed.
Why is this a security risk and is it possible to safely allow augmented assignments on mapped c++ objects which implement __getitem__ and __setitem__?
Furthermore is it even possible to allow this without writing a custom transformer?
Why is this a security risk and is it possible to safely allow augmented assignments on mapped c++ objects which implement
__getitem__and__setitem__?Furthermore is it even possible to allow this without writing a custom transformer?