[issue38341] Add SMTPNotSupportedError in the exports of smtplib

2019-10-01 Thread Norman Denayer


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



[issue19461] RawConfigParser modifies empty strings unconditionally

2014-03-08 Thread Norman Denayer

Norman Denayer added the comment:

I guess it's logical to have the value "" turned to '' in the reader, but I 
would expect the same transformation in the writer.

If the write function would write "" for an empty string, will it solve your 
issue?

--
keywords: +patch
nosy: +Norman.Denayer
Added file: http://bugs.python.org/file34305/89484_issue19461.patch

___
Python tracker 
<http://bugs.python.org/issue19461>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com