Issue 24733: Logically Dead Code (original) (raw)

Issue24733

Created on 2015-07-27 10:09 by pankaj.s01, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
Python-2.7.10-traceback.patch pankaj.s01,2015-07-27 10:09 Python traceback patch
Messages (4)
msg247458 - (view) Author: Pankaj Sharma (pankaj.s01) * Date: 2015-07-27 10:09
Hi, Reporting an issues of "Logically Dead code" in Python 2.7.10/Python/traceback.c +174 Please review attached patch. thanks!
msg257441 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-01-04 05:07
This looks like some leftover cruft after refactoring the code: <https://hg.python.org/cpython/diff/840064802952/Python/traceback.c>. Removing it looks fine to me. This does not seem to be applicable to Python 3.
msg257520 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-01-05 06:41
New changeset f2a846c1b593 by Senthil Kumaran in branch '2.7': Issue24733 - Remove unreachable code in traceback.c https://hg.python.org/cpython/rev/f2a846c1b593
msg257521 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2016-01-05 06:43
Thanks for the report, Pankaj Sharma. Removed in 2.7.11+.
History
Date User Action Args
2022-04-11 14:58:19 admin set github: 68921
2016-01-05 06:43:17 orsenthil set status: open -> closedassignee: orsenthilnosy: + orsenthilmessages: + resolution: fixedstage: patch review -> resolved
2016-01-05 06:41:35 python-dev set nosy: + python-devmessages: +
2016-01-04 05:07:00 martin.panter set nosy: + martin.pantermessages: +
2016-01-04 00:04:33 ezio.melotti set type: enhancementstage: patch review
2015-07-27 12:11:33 vstinner set nosy: + vstinner
2015-07-27 10:09:10 pankaj.s01 create