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 mgedmin
Recipients mgedmin
Date 2012-12-10.13:33:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1355146400.65.0.00525928914729.issue16657@psf.upfronthosting.co.za>
In-reply-to
Content
The docstring for traceback.format_tb says

  """A shorthand for 'format_list(extract_stack(f, limit))."""

which is incorrect -- it's actually a shorthand for format_list(extract_tb(tb, limit)).

Patch attached.
History
Date User Action Args
2012-12-10 13:33:20mgedminsetrecipients: + mgedmin
2012-12-10 13:33:20mgedminsetmessageid: <1355146400.65.0.00525928914729.issue16657@psf.upfronthosting.co.za>
2012-12-10 13:33:20mgedminlinkissue16657 messages
2012-12-10 13:33:20mgedmincreate