Ok thanks a lot. I think i got the point. I also thought that it could be possible to do something like this globals().__setitem__ = custom_setter but __setitem__ is readonly