Hi Marcos, On Wed, Oct 14, 2015 at 12:58 PM, Marcos Dione <mdi...@grulic.org.ar> wrote: > inception_locals= sys._getframe().f_back.f_locals > inception_locals.update (locals)
I think this works if you *assign* to f_locals. When you only *read* f_locals, you get a copy of the dict. The assignment is needed to write the new values back into the frame's real ("optimized") locals: inception_locals= sys._getframe().f_back.f_locals inception_locals.update (locals) sys._getframe().f_back.f_locals = inception_locals A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev