[issue23873] Removal of dead code in smtpd
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
[issue23872] Typo in response in smtpd
New submission from Hoolean: A spelling mistake is present: in all other instances in the class, the string is ' [SP mail-parameters]', yet at this line it is [incorrectly] ' [SP mail parameters]', missing a '-' and a '' character. I have attached a patch correcting this. -- components: Library (Lib) files: correction.patch keywords: patch messages: 240097 nosy: Hoolean priority: normal severity: normal status: open title: Typo in response in smtpd type: behavior Added file: http://bugs.python.org/file38835/correction.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23872 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com