Message324648
Consider the following script:
import traceback
def fill_stack(depth):
if depth <= 1:
return traceback.format_stack()
else:
return fill_stack(depth - 1)
assert fill_stack(4) != fill_stack(5)
On the Python 3 versions I tested, this script doesn't fail! Somehow traceback is producing identical tracebacks for different callstacks. |
|
| Date |
User |
Action |
Args |
| 2018-09-05 17:52:12 | benjamin.peterson | set | recipients:
+ benjamin.peterson |
| 2018-09-05 17:52:12 | benjamin.peterson | set | messageid: <1536169932.26.0.56676864532.issue34588@psf.upfronthosting.co.za> |
| 2018-09-05 17:52:12 | benjamin.peterson | link | issue34588 messages |
| 2018-09-05 17:52:12 | benjamin.peterson | create | |
|