Author Norman.Denayer
Recipients Norman.Denayer, barry, r.david.murray
Date 2019-10-01.20:50:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1569963046.98.0.477841717728.issue38341@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-10-01 20:50:47Norman.Denayersetrecipients: + Norman.Denayer, barry, r.david.murray
2019-10-01 20:50:46Norman.Denayersetmessageid: <1569963046.98.0.477841717728.issue38341@roundup.psfhosted.org>
2019-10-01 20:50:46Norman.Denayerlinkissue38341 messages
2019-10-01 20:50:46Norman.Denayercreate