[Python-ideas] Standard way to get caller name and easy call stack access

Barry Warsaw barry at python.org
Tue Mar 27 22:33:20 CEST 2012


On Mar 22, 2012, at 11:37 AM, Andrew McNabb wrote:

>"One unobvious usecase where this is used is the logging module. Don't
>use logging module if you want things to be fast."

Similarly, the i18n use case that motivated sys._getframe() in the first place
shouldn't be considered performance critical.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120327/49846a84/attachment.pgp>


More information about the Python-ideas mailing list