[New-bugs-announce] [issue13163] `port` and `host` are confused in `_get_socket

Ram Rachum report at bugs.python.org
Thu Oct 13 00:51:21 CEST 2011


New submission from Ram Rachum <ram at rachum.com>:

Look here:

http://hg.python.org/cpython/file/3313ce92cef7/Lib/smtplib.py#l279

`port` and `host` are confused.

I saw this is fixed on 3.2; possibly it should be fixed in the next 2.7 micro release too.

----------
components: Library (Lib)
messages: 145442
nosy: cool-RR
priority: normal
severity: normal
status: open
title: `port` and `host` are confused in `_get_socket
versions: Python 2.7

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


More information about the New-bugs-announce mailing list