> What's your use case exactly ? I'm trying to use a function to implicitly update a dictionary. The whole point is to avoid the normal dictionary semantics, so kw['x'] = 5 unfortunately won't do.
I think bytecode hacks may be the way to go -- http://mail.python.org/mailman/listinfo/python-list