Author r.david.murray
Recipients Claudiu.Popa, georg.brandl, pitrou, pjenvey, r.david.murray, serhiy.storchaka, terry.reedy
Date 2014-06-25.14:36:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403706995.89.0.37464405248.issue17442@psf.upfronthosting.co.za>
In-reply-to
Content
I would lean toward bug fix.  I'm sure this was just overlooked when exception chaining was added, and as Claudiu says, the contract of code is to emulate the interactive interpreter, so not doing so in this instance looks like a bug to me.

It is certainly conceivable that it could disrupt working programs, but I would think most such would be interactive programs that would benefit from the fix without breaking.  Does anyone know of a counter example or can think of a use case for the code module that this change would be likely to break?

(Note: if there is a use case that somehow parses the output, introducing blank lines and extra traceback clauses could easily be a breaking change...but is there such a use case?)
History
Date User Action Args
2014-06-25 14:36:35r.david.murraysetrecipients: + r.david.murray, georg.brandl, terry.reedy, pitrou, pjenvey, Claudiu.Popa, serhiy.storchaka
2014-06-25 14:36:35r.david.murraysetmessageid: <1403706995.89.0.37464405248.issue17442@psf.upfronthosting.co.za>
2014-06-25 14:36:35r.david.murraylinkissue17442 messages
2014-06-25 14:36:35r.david.murraycreate