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 alex
Recipients alex, barry, benjamin.peterson, docs@python, eli.bendersky, ethan.furman, ezio.melotti, gvanrossum, isoschiz, ncoghlan, pconnell, python-dev, zach.ware
Date 2013-05-13.18:40:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
From PyPy's perspective we don't really care what you name this particular bikeshed, and it's probably not that important to us (in this particular case).

As far as I know IronPython is the only Python VM that doesn't have _getframe() support by default (you need a CLI flag at startup, IIRC). In PyPy calling _getframe (right now) has a negative performance impact, but it's local to wherever you're calling it, so unless you create Enum in frequent loops (as opposed to just once at module level), this doesn't really matter to us.

If someone wants to invent a more narrow, tailored API for stack introspection, logging is a much better target (right now each call to logging.{info,error,etc.} calls _getframe(), which does have a real performance impact. (We'll eventually invent enough engineering to fix this ourselves, but in the meantime if somewhere were to pain this bikeshed, we certainly wouldn't object ;)).
Date User Action Args
2013-05-13 18:40:23alexsetrecipients: + alex, gvanrossum, barry, ncoghlan, benjamin.peterson, ezio.melotti, eli.bendersky, docs@python, ethan.furman, python-dev, zach.ware, pconnell, isoschiz
2013-05-13 18:40:23alexsetmessageid: <>
2013-05-13 18:40:23alexlinkissue17947 messages
2013-05-13 18:40:22alexcreate