[New-bugs-announce] [issue23873] Removal of dead code in smtpd

Hoolean report at bugs.python.org
Sun Apr 5 02:57:43 CEST 2015


New submission from Hoolean:

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.

----------
components: Library (Lib)
files: correction.patch
keywords: patch
messages: 240098
nosy: Hoolean
priority: normal
severity: normal
status: open
title: Removal of dead code in smtpd
type: performance
Added file: http://bugs.python.org/file38836/correction.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23873>
_______________________________________


More information about the New-bugs-announce mailing list