This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Cleanup in smtpd module
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.5
process
Status: closed Resolution: wont fix
Dependencies: 8739 Superseder:
Assigned To: Nosy List: BreamoreBoy, Juhana.Jauhiainen, barry, ezio.melotti, maker, r.david.murray
Priority: normal Keywords:

Created on 2012-03-12 12:04 by maker, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg155448 - (view) Author: Michele Orrù (maker) * Date: 2012-03-12 12:04
This issue is related to 8739 .

As pointed in http://bugs.python.org/issue8739#msg155385, 
« tests are in the form FooTest instead of TestFoo, smtpd imports modules used only in __main__, warnings can be handled the appropriate module, __import__ shall not be used »

and, as bitdancer said in http://bugs.python.org/issue8739#msg153244
«there are no tests for the smtpd command line functionality»

Also, note that currently the main has a bug: 
s/options\.max_message_size/size_limit/
msg221848 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-29 15:15
@Michele as 8739 has been implemented would you like to put up a patch for this?
msg221968 - (view) Author: Michele Orrù (maker) * Date: 2014-06-30 17:01
On Sun, Jun 29, 2014 at 03:15:44PM +0000, Mark Lawrence wrote:
>
> Mark Lawrence added the comment:
>
> @Michele as 8739 has been implemented would you like to put up a patch for this?
No, but setting keyword "easy" could help for future contributions.
msg309755 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2018-01-10 00:56
I'm closing this as won't fix since smtpd.py is deprecated and will likely not get any future development.  Please see aiosmtpd as a much better third party replacement.
History
Date User Action Args
2022-04-11 14:57:27adminsetgithub: 58469
2018-01-10 00:56:28barrysetstatus: open -> closed

nosy: + barry
messages: + msg309755

resolution: wont fix
stage: needs patch -> resolved
2014-06-30 17:01:08makersetmessages: + msg221968
2014-06-29 15:15:43BreamoreBoysetnosy: + BreamoreBoy

messages: + msg221848
versions: + Python 3.5, - Python 3.3
2012-03-16 15:22:25r.david.murraysetdependencies: + Update to smtpd.py to RFC 5321
stage: needs patch
2012-03-12 12:04:10makercreate