Author terry.reedy
Recipients r.david.murray, serhiy.storchaka, terry.reedy, vaultah
Date 2015-01-06.21:07:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420578472.55.0.698987516698.issue22619@psf.upfronthosting.co.za>
In-reply-to
Content
For future reference, a better initial post would have been more self-contained and explanatory, something like the following.  (If I got the proposal wrong, all the more reason to explain it clearly).
---
Several functions in the traceback module take a *limit* argument to limit output to the first n 'stack trace entries'.  This issue proposes that negative limits should instead limit output to the last n entries. This idea was discussed on python ideas and approved by Guido there.
https://mail.python.org/pipermail/python-ideas/2014-October/029826.html.
---

Do the new tests pass with n=0?  If not, do the functions have a sensible behavior (print header and no entries, rather than raising) that could be tested?
History
Date User Action Args
2015-01-06 21:07:52terry.reedysetrecipients: + terry.reedy, r.david.murray, serhiy.storchaka, vaultah
2015-01-06 21:07:52terry.reedysetmessageid: <1420578472.55.0.698987516698.issue22619@psf.upfronthosting.co.za>
2015-01-06 21:07:52terry.reedylinkissue22619 messages
2015-01-06 21:07:52terry.reedycreate