Message233551
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? |
|
Date |
User |
Action |
Args |
2015-01-06 21:07:52 | terry.reedy | set | recipients:
+ terry.reedy, r.david.murray, serhiy.storchaka, vaultah |
2015-01-06 21:07:52 | terry.reedy | set | messageid: <1420578472.55.0.698987516698.issue22619@psf.upfronthosting.co.za> |
2015-01-06 21:07:52 | terry.reedy | link | issue22619 messages |
2015-01-06 21:07:52 | terry.reedy | create | |
|