This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author glynnc
Recipients glynnc, vinay.sajip
Date 2012-12-27.02:37:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Subclassing findCaller() is likely to be a bit hairy for the average user, as it deals with some fairly arcane aspects of Python internals.

As for mechanism, maybe allow functions/methods to be registered with the logging module, which would store a referenceto the function's func_code member. findCaller() would check the frame's f_code member against the set of registered functions, and continue up the stack until it found an unregistered function.
Date User Action Args
2012-12-27 02:37:36glynncsetrecipients: + glynnc, vinay.sajip
2012-12-27 02:37:36glynncsetmessageid: <>
2012-12-27 02:37:36glynnclinkissue16778 messages
2012-12-27 02:37:36glynnccreate