[New-bugs-announce] [issue26036] Unnecessary arguments on smtpd.SMTPServer

Cal Leeming report at bugs.python.org
Thu Jan 7 07:16:23 EST 2016


New submission from Cal Leeming:

`smtpd.SMTPServer` takes argument `remoteaddr`, however this is only used in subclass `smtpd.DebuggingServer`.

Would anyone object to a patch which removes `remoteaddr` from `smtpd.SMTPServer.__init__` and places it into `smtpd.DebuggingServer.__init__` instead?

Naturally this would be backwards incompatible

----------
components: Library (Lib)
messages: 257684
nosy: sleepycal
priority: normal
severity: normal
status: open
title: Unnecessary arguments on smtpd.SMTPServer
type: enhancement

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


More information about the New-bugs-announce mailing list