On May 6, 10:32 pm, Luis Alberto Zarrabeitia Gomez <ky... at uh.cu> wrote: > A bit offtopic: a while ago I think I saw a recipe for a decorator that, via > bytecode hacks, would bind otherwise global names to the local namespace of the > function. Can anyone remember it/point me to it? Maybe you saw http://code.activestate.com/recipes/277940/ ? George