Author petr.viktorin
Recipients docs@python, petr.viktorin
Date 2016-03-07.11:15:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
According to the docs [0], traceback.extract_tb should return 4-tuples (filename, line number, function name, text).


Instead, since Python 3.5, it returns FrameSummary objects, which are not tuples, nor tuple subclasses, nor even sequences. (This broke some code in the wild that called len() on FrameSummary.)

Issue 25111 pointed out another tuple incompatibility, which was fixed. Should __len__ be added as well? Or the whole Sequence ABC?

I can provide a patch when those questions are answered.
Date User Action Args
2016-03-07 11:15:48petr.viktorinsetrecipients: + petr.viktorin, docs@python
2016-03-07 11:15:48petr.viktorinsetmessageid: <>
2016-03-07 11:15:48petr.viktorinlinkissue26502 messages
2016-03-07 11:15:48petr.viktorincreate