New submission from Norman Denayer :
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
<https://bugs.python.org/issue38341>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com