[issue27910] Doc/library/traceback.rst — references to tuples should be replaced with new FrameSummary object

Tomas Orsava report at bugs.python.org
Wed Aug 31 07:23:30 EDT 2016


Tomas Orsava added the comment:

Hi Berker: It's a bit complicated—this specific issue I opened isn't a regression, because it's exactly the change that was intended: Use FrameSummary instead of a 4-tuple to pass the frame data.

If you see the last comment for the issue 25573 you linked to, that issue has already been resolved by the docs being updated to reflect the new way of passing data.

However, that is not to say there can't be regressions connected to this, but they have to do with the fact that FrameSummary implements only a subset of methods available of tuples. E.g. that FrameSummary does not implement __len__ like tuple does, see issue 26502.

----------

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


More information about the Python-bugs-list mailing list