[issue32793] smtplib: duplicated debug message

TaoQingyun report at bugs.python.org
Thu Feb 8 04:05:18 EST 2018


New submission from TaoQingyun <845767657 at qq.com>:

```
            if self.debuglevel > 0:
                self._print_debug('connect:', (host, port))
```
The above both in _get_socket and connect method, and connect also invoke _get_socket.

----------
components: Library (Lib)
files: smtp.patch
keywords: patch
messages: 311818
nosy: qingyunha
priority: normal
severity: normal
status: open
title: smtplib: duplicated debug message
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8
Added file: https://bugs.python.org/file47428/smtp.patch

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32793>
_______________________________________


More information about the Python-bugs-list mailing list