[issue35019] Minor Bug found in asyncio - Python 3.5.3

Ken Bassford report at bugs.python.org
Thu Oct 18 12:28:24 EDT 2018


New submission from Ken Bassford <kenbassford at verizon.net>:

Found that when using the following function ...

"asyncio.start_server(self.processCmd, serverhost, serverport, loop=self.loop)"

If 'serverhost' is formatted as a ipaddress.IPv4Address() it will cause a very messy failure.

Formatting 'serverhost' as a string eliminates the problem, though I suspect that asyncio developers would/should accept IPv4/IPv6 objects, in addition to strings, as the host parameter.

----------
components: asyncio
messages: 327984
nosy: asvetlov, bassford, yselivanov
priority: normal
severity: normal
status: open
title: Minor Bug found in asyncio - Python 3.5.3
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35019>
_______________________________________


More information about the Python-bugs-list mailing list