Skip to content

[3.9] bpo-41218: Only mark async code with CO_COROUTINE. (GH-21357)#21362

Merged
pablogsal merged 1 commit into
python:3.9from
pablogsal:backport-bd46174-3.9
Jul 6, 2020
Merged

[3.9] bpo-41218: Only mark async code with CO_COROUTINE. (GH-21357)#21362
pablogsal merged 1 commit into
python:3.9from
pablogsal:backport-bd46174-3.9

Conversation

@pablogsal

@pablogsal pablogsal commented Jul 6, 2020

Copy link
Copy Markdown
Member

3.8.3 had a regression where compiling with
ast.PyCF_ALLOW_TOP_LEVEL_AWAIT woudl agressively mark things are
coroutine even if there were not.
(cherry picked from commit bd46174)

Co-authored-by: Matthias Bussonnier bussonniermatthias@gmail.com

https://bugs.python.org/issue41218

)

3.8.3 had a regression where compiling with
ast.PyCF_ALLOW_TOP_LEVEL_AWAIT woudl agressively mark things are
coroutine even if there were not.
(cherry picked from commit bd46174)

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants