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 Ken.Cheung
Recipients Ken.Cheung
Date 2012-06-19.15:42:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340120572.84.0.94173614856.issue15106@psf.upfronthosting.co.za>
In-reply-to
Content
I observed a code clone from the following files.

function : PyErr_Restore @ (file: "Python-3.3.0a4/Python/errors.c", line: 27)~49
function : PyErr_SetExcInfo @ (file: "Python-3.3.0a4/Python/errors.c", line: 341)~353

The function PyErr_Restore performs some checking on traceback while PyErr_SetExcInfo does not. I wonder if this is necessary in the function PyErr_SetExcInfo. The source code is included in the attachment. Hope it helps.
History
Date User Action Args
2012-06-19 15:42:53Ken.Cheungsetrecipients: + Ken.Cheung
2012-06-19 15:42:52Ken.Cheungsetmessageid: <1340120572.84.0.94173614856.issue15106@psf.upfronthosting.co.za>
2012-06-19 15:42:51Ken.Cheunglinkissue15106 messages
2012-06-19 15:42:51Ken.Cheungcreate