Skip to content

Conversation

@Carreau
Copy link
Contributor

@Carreau Carreau commented Jul 6, 2020

3.8.3 had a regression where compiling with
ast.PyCF_ALLOW_TOP_LEVEL_AWAIT would agressively mark things are
coroutine even if there were not.

https://bugs.python.org/issue41218

@pablogsal
Copy link
Member

@Carreau Could you add also a NEWS entry?

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.
@Carreau
Copy link
Contributor Author

Carreau commented Jul 6, 2020

Rebased, NEWS file added and suggestion applied.

@pablogsal
Copy link
Member

Thanks for the quick response @Carreau!

@ambv Could it be possible to include this in 3.8.4?

@ambv
Copy link
Contributor

ambv commented Jul 6, 2020

Could it be possible to include this in 3.8.4?

How could it not?

@ambv ambv merged commit bd46174 into python:master Jul 6, 2020
@bedevere-bot
Copy link

@ambv: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington
Copy link
Contributor

Thanks @Carreau for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry @Carreau and @ambv, I had trouble checking out the 3.9 backport branch.
Please backport using cherry_picker on command line.
cherry_picker bd46174a5a09a54e5ae1077909f923f56a7cf710 3.9

@bedevere-bot
Copy link

GH-21361 is a backport of this pull request to the 3.8 branch.

@ambv
Copy link
Contributor

ambv commented Jul 6, 2020

@pablogsal, approving first, reviewing later is a new style for me ;-)

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 6, 2020
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 <[email protected]>
@pablogsal
Copy link
Member

@pablogsal, approving first, reviewing later is a new style for me ;-)

I forgot to add a couple of suggestions to clean the test suite, I will submit a followup :)

pablogsal pushed a commit to pablogsal/cpython that referenced this pull request Jul 6, 2020
)

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 <[email protected]>
@bedevere-bot
Copy link

GH-21362 is a backport of this pull request to the 3.9 branch.

miss-islington added a commit that referenced this pull request Jul 6, 2020
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 <[email protected]>
pablogsal added a commit that referenced this pull request Jul 6, 2020
…H-21362)

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 <[email protected]>

Co-authored-by: Matthias Bussonnier <[email protected]>
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.

6 participants