globals().__getitem__ = new_getitem(globals().__getitem__) AttributeError: 'dict' object attribute '__getitem__' is read-only