Exception raising, and performance implications.

jepler at unpythonic.net jepler at unpythonic.net
Mon Oct 3 17:54:06 EDT 2005


As for performance, you'll need to benchmark it.

However, I think the functionality you're asking for is available as
inspect.currentframe(), and if the implementation is in "C" it may have a tiny
performance advantage over the Python version.

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20051003/1d92dc24/attachment.sig>


More information about the Python-list mailing list