Nice.  I had to call _getframe(2) to account for the wrapper but the
idea seems to work OK, that is, save the name of the decorator's
original caller at definition time while creating the wrapper function.
 Much better than doing that at runtime.

Thanks

--
Luis P Caamano
Atlanta, GA USA

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

Reply via email to