New submission from Norman Denayer <denayer.nor...@gmail.com>:
Long story short: smtplib.SMTPNotSupportedError seems the only exception not present in __all__ variable exposed by smtplib.py Context: I currently face an issue running mypy on one of my module: ...tools/email.py:46: error: Module has no attribute "SMTPNotSupportedError" except smtplib.SMTPNotSupportedError: Digging into the context of this error, I note this exception is not exposed in the list __all__. Regards, Norman ---------- components: email messages: 353712 nosy: Norman.Denayer, barry, r.david.murray priority: normal severity: normal status: open title: Add SMTPNotSupportedError in the exports of smtplib type: enhancement versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38341> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com