This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author torsava
Recipients docs@python, torsava
Date 2016-08-31.10:04:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472637889.08.0.384463773035.issue27910@psf.upfronthosting.co.za>
In-reply-to
Content
In the documentation for the `traceback` module, the definitions of functions `extract_tb` [0], `format_list` [1] and classmethod `from_list` [2] mention the old style (4-)tuples that these functions used to return or accept.

Since Python 3.5, however, they return or accept a FrameSummary object instead of the 4-tuple, or a StackSummary object instead of a list of 4-tuples.

I'm including a patch that fixes these definitions to make them reflect the new reality.

[0] https://docs.python.org/3.6/library/traceback.html#traceback.extract_tb
[1] https://docs.python.org/3.6/library/traceback.html#traceback.format_list
[2] https://docs.python.org/3.6/library/traceback.html#traceback.StackSummary.from_list
History
Date User Action Args
2016-08-31 10:04:49torsavasetrecipients: + torsava, docs@python
2016-08-31 10:04:49torsavasetmessageid: <1472637889.08.0.384463773035.issue27910@psf.upfronthosting.co.za>
2016-08-31 10:04:49torsavalinkissue27910 messages
2016-08-31 10:04:48torsavacreate