New submission from Ken Cheung <msrbugzi...@gmail.com>: 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. ---------- components: None files: errors_clone.txt messages: 163181 nosy: Ken.Cheung priority: normal severity: normal status: open title: Potential Bug in errors.c type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file26049/errors_clone.txt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15106> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com