[New-bugs-announce] [issue25328] ValueError in smtpd.py __init__() is not raised

Barry A. Warsaw report at bugs.python.org
Tue Oct 6 21:59:27 CEST 2015


New submission from Barry A. Warsaw:

In Python 3.5, SMTPChannel.__init__() ensures that enable_SMTPUTF8 and decode_data arguments are not both true.  This even seems to be tested in test_smtpd.py.  But it's clearly bogus because the exception is never raised!  It just creates and throws away the exception instance.

----------
messages: 252426
nosy: barry, r.david.murray
priority: normal
severity: normal
status: open
title: ValueError in smtpd.py __init__() is not raised
versions: Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25328>
_______________________________________


More information about the New-bugs-announce mailing list