Issue 23873: Removal of dead code in smtpd (original) (raw)

Issue23873

Created on 2015-04-05 00:57 by Hoolean, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
correction.patch Hoolean,2015-04-05 00:57 review
Messages (2)
msg240098 - (view) Author: (Hoolean) Date: 2015-04-05 00:57
Code was present that checked conditions that had previous been checked and had returned the function prematurely if the condition was true. As the condition has not changed before the check is made again, the condition will always be false and the code inside the if-statement will never be evaluated. The attached patch removes unnecessary code.
msg240215 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-04-07 16:00
New changeset 81ce9d412a4c by Benjamin Peterson in branch '3.4': remove smtpd dead code (closes #23873) https://hg.python.org/cpython/rev/81ce9d412a4c New changeset ea21b99d002e by Benjamin Peterson in branch 'default': merge 3.4 (#23873) https://hg.python.org/cpython/rev/ea21b99d002e
History
Date User Action Args
2022-04-11 14:58:15 admin set github: 68061
2015-04-07 16:00:46 python-dev set status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved
2015-04-05 00:57:43 Hoolean create