for the record, googling for "f_back.f_locals" reveals a wide variety of similar hacks and also a cleaner way to access the current frame: inspect.currentframe() -- http://mail.python.org/mailman/listinfo/python-list
- Re: Intercepting binding? Carl Banks
- Re: Intercepting binding? andrew cooke
- Re: Intercepting binding? Rhodri James
- Re: Intercepting binding? andrew cooke
- Re: Intercepting binding? Steven D'Aprano
- Re: Intercepting binding? andrew cooke
- Re: Intercepting binding? Rhodri James
- Re: Intercepting binding? Carl Banks
- Re: Intercepting binding? Dave Angel
- Re: Intercepting binding? andrew cooke
- Re: Intercepting binding? andrew cooke
- Re: Intercepting binding? Carl Banks