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 <rep...@bugs.python.org>
<http://bugs.python.org/issue23873>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to