Traceback spoofing
Zac Burns
zac256 at gmail.com
Fri May 21 19:22:52 EDT 2010
Why can't I inherit from traceback to 'spoof' tracebacks? I would like to
create a traceback that is save-able to re-raise exceptions later without
leaking all the locals. (I'm sure this idea has been discussed before but I
can't find it anymore.)
class Traceback(types.TracebackType): pass
TypeError: Error when calling the metaclass bases
type 'traceback' is not an acceptable base type
--
Zachary Burns
(407)590-4814
Aim - Zac256FL
Production Engineer
Zindagi Games
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100521/45943514/attachment.html>
More information about the Python-list
mailing list