Re: [Python-Dev] Reference cycles in Exception.__traceback__

2014年3月06日 13:43:17 -0800

Antoine Pitrou wrote:
We might allow the creation of traceback objects, but without any custom frame objects it is unclear how useful that would be.
When I was implementing Pyrex, I would have found it
very useful to be able to create Traceback objects
without Frames, but only if the Traceback were able
to hold a line number.
As it was, I had to create an entire fake Frame object
filled with mostly dummy values, just to get line
numbers printed in the traceback.
--
Greg
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to