Author yury
Recipients amaury.forgeotdarc, benjamin.peterson, pitrou, terry.reedy, yury
Date 2011-12-24.23:42:42
SpamBayes Score 5.16289e-10
Marked as misclassified No
Message-id <1324770163.84.0.320350555879.issue6028@psf.upfronthosting.co.za>
In-reply-to
Content
Rather than aborting with a stack overflow, I feel it is more natural to raise an exception. If it is not too difficult to implement, perhaps another type of exception should be raised. Since chained exceptions are new to 3.x, there should be a new exception to describe errors that happen in chaining. Perhaps stopping chaining at a certain depth and truncating all further exceptions with a blanket "ChainingException" exception. Or perhaps truncating the chain and wrapping it in another exception before returning it to user code.

While this is my proposed solution, I apologize I cannot volunteer to write the patch. The time investment on my part would involve learning most of the working of the interpreter. Perhaps someone who is already familiar with it would be interested.
History
Date User Action Args
2011-12-24 23:42:43yurysetrecipients: + yury, terry.reedy, amaury.forgeotdarc, pitrou, benjamin.peterson
2011-12-24 23:42:43yurysetmessageid: <1324770163.84.0.320350555879.issue6028@psf.upfronthosting.co.za>
2011-12-24 23:42:43yurylinkissue6028 messages
2011-12-24 23:42:42yurycreate