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.

classification
Title: Logically Dead Code
Type: enhancement Stage: resolved
Components: Interpreter Core, Library (Lib) Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: orsenthil Nosy List: benjamin.peterson, martin.panter, orsenthil, pankaj.s01, python-dev, vstinner
Priority: normal Keywords: patch

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:19adminsetgithub: 68921
2016-01-05 06:43:17orsenthilsetstatus: open -> closed

assignee: orsenthil

nosy: + orsenthil
messages: + msg257521
resolution: fixed
stage: patch review -> resolved
2016-01-05 06:41:35python-devsetnosy: + python-dev
messages: + msg257520
2016-01-04 05:07:00martin.pantersetnosy: + martin.panter
messages: + msg257441
2016-01-04 00:04:33ezio.melottisettype: enhancement
stage: patch review
2015-07-27 12:11:33vstinnersetnosy: + vstinner
2015-07-27 10:09:10pankaj.s01create