James Stroud wrote:
      inspect.stack()[1][0].f_locals[name] = val

I just double checked this. Because of the way locals are implemented in cPython, this won't have the desired affect.

James
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to