Re: Limit traceback from most recent call

2008-12-15 Thread Ethan Furman
Brian Allen Vanderburg II wrote: I've looked at traceback module but I can't find how to limit traceback from the most recent call if it is possible. I see that extract_tb has a limit parameter, but it limits from the start and not the end. Currently I've made my own traceback code to do

Re: Limit traceback from most recent call

2008-12-15 Thread Yinon Ehrlich
On Dec 14, 8:07 pm, Brian Allen Vanderburg II brianvanderbu...@aim.com wrote: I've looked at traceback module but I can't find how to limit traceback from the most recent call if it is possible.  I see that extract_tb has a limit parameter, but it limits from the start and not the end.  

Re: Limit traceback from most recent call

2008-12-15 Thread Brian Allen Vanderburg II
yinon...@gmail.com wrote: On Dec 14, 8:07 pm, Brian Allen Vanderburg II brianvanderbu...@aim.com wrote: Hi, The interface of extract_tb is: traceback.extract_tb(tb, limit=None) try to play with the 'limit' argument Good luck, Yinon -- http://mail.python.org/mailman/listinfo/python-list

Limit traceback from most recent call

2008-12-14 Thread Brian Allen Vanderburg II
I've looked at traceback module but I can't find how to limit traceback from the most recent call if it is possible. I see that extract_tb has a limit parameter, but it limits from the start and not the end. Currently I've made my own traceback code to do this but wonder if python already