[New-bugs-announce] [issue43742] tcp_echo_client in asyncio streams example does not work. Hangs for ever at reaser.read()

julian colomina report at bugs.python.org
Tue Apr 6 04:07:33 EDT 2021


New submission from julian colomina <julcol33 at gmail.com>:

taking the example verbatim into an ubuntu 20.04 with
 Python 3.8.5 (default, Jan 27 2021, 15:41:15)
[GCC 9.3.0] on linux

will hand indefinitely at 
data = await reader.read(100)

changing for 
data = await asyncio.wait_for(reader.read(100),5)

will always leave on timeout.

----------
components: asyncio
messages: 390295
nosy: asvetlov, jcolo, yselivanov
priority: normal
severity: normal
status: open
title: tcp_echo_client in asyncio streams example does not work. Hangs for ever at reaser.read()
type: behavior
versions: Python 3.8

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


More information about the New-bugs-announce mailing list