user-supplied locals dict for function execution?

Lonnie Princehouse finite.automaton at gmail.com
Mon Mar 20 13:33:14 EST 2006


> 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




More information about the Python-list mailing list