Message184146
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.) |
|
Date |
User |
Action |
Args |
2013-03-14 08:13:23 | r.david.murray | set | recipients:
+ r.david.murray, inducer, Aaron.Meurer, HJarausch |
2013-03-14 08:13:23 | r.david.murray | set | messageid: <1363248803.92.0.753069221397.issue17413@psf.upfronthosting.co.za> |
2013-03-14 08:13:23 | r.david.murray | link | issue17413 messages |
2013-03-14 08:13:23 | r.david.murray | create | |
|