Lorenzo Ancora added the comment:
(msg259748) ok, then I propose to correct
https://docs.python.org/dev/library/smtpd.html?highlight=q#smtpd.SMTPServer
from:
.. class:: SMTPServer(localaddr, remoteaddr, data_size_limit=33554432,\
map=None, enable_SMTPUTF8=False
Lorenzo Ancora added the comment:
(msg259475) Terry J. Reedy thank you for the correction, I've confused the
versions affected with the versions actually supported.
Since this doesn't only affect the documentation, is it correct to assign the
issue to docs@python?
The expert index
Lorenzo Ancora added the comment:
(msg259229) Terry J. Reedy i Suggest that a standard and globally accepted
scheme to manage IPv4 addresses is:
"Host:PortNumber" --> (host, PortNumber)
"Host"--> (host, DefaultPortNumber)
"IP:PortNumbe
New submission from Lorenzo Ancora:
smtpd.PureProxy(localaddr="host1", remoteaddr="host2")
...produces the error:
[...] smtpd.py", line 657, in __init__
gai_results = socket.getaddrinfo(*localaddr, type=socket.SOCK_STREAM)
TypeError: getaddrinfo() got multiple