[issue26502] traceback.extract_tb breaks compatibility by returning FrameSummary

Berker Peksag report at bugs.python.org
Tue Mar 8 07:52:51 EST 2016


Berker Peksag added the comment:

This is basically a duplicate of issue 25573. We need to add the examples in traceback module documentation to test_traceback.py.

> Should __len__ be added as well?

IMO, the new FrameSummary API (and its friends) shouldn't change the return value of the existing traceback functions like extract_tb() so I'd say yes.

----------
nosy: +berker.peksag
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
type:  -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26502>
_______________________________________


More information about the Python-bugs-list mailing list