[issue40696] "await" hangs in Python3.9.0b1.

Mariusz Felisiak report at bugs.python.org
Wed May 20 04:08:03 EDT 2020


New submission from Mariusz Felisiak <felisiak.mariusz at gmail.com>:

We noticed a behavior change in Python3.9.0b1 (it works properly in Python3.9.0a6). One of our tests `handlers.tests.AsyncHandlerRequestTests.test_suspiciousop_in_view_returns_400`[1] hangs on `await`. `/suspicious/` is a view that raises a custom exception `SuspiciousOperation`.

[1] https://github.com/django/django/blob/8328811f048fed0dd22573224def8c65410c9f2e/tests/handlers/tests.py#L258-L260

----------
components: asyncio
messages: 369429
nosy: asvetlov, carltongibson, felixxm, yselivanov
priority: normal
severity: normal
status: open
title: "await" hangs in Python3.9.0b1.
versions: Python 3.9

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


More information about the Python-bugs-list mailing list