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 r.david.murray
Recipients Aaron.Meurer, HJarausch, inducer, r.david.murray
Date 2013-03-14.08:13:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363248803.92.0.753069221397.issue17413@psf.upfronthosting.co.za>
In-reply-to
Content
Because the second argument to format_traceback is supposed to be (is documented to be) an exception object.  The fact that it used to work anyway in Python2 if you passed a string was an accident of the implementation.  Likewise, settrace is documented to provide a value, not a string, so the fact that it provides a string is a bug.  That needs to be fixed.

(As to specifically why chain defaults to True, it defaults to having the same behavior as the normal exception machinery.)
History
Date User Action Args
2013-03-14 08:13:23r.david.murraysetrecipients: + r.david.murray, inducer, Aaron.Meurer, HJarausch
2013-03-14 08:13:23r.david.murraysetmessageid: <1363248803.92.0.753069221397.issue17413@psf.upfronthosting.co.za>
2013-03-14 08:13:23r.david.murraylinkissue17413 messages
2013-03-14 08:13:23r.david.murraycreate