Skip to content

Conversation

pablogsal
Copy link
Member

@pablogsal pablogsal commented Mar 15, 2020

… functions when PyCF_ALLOW_TOP_LEVEL_AWAIT is set
@pablogsal pablogsal changed the title bpo-39562: Correctly raise SyntaxError if await is used outside async functions when PyCF_ALLOW_TOP_LEVEL_AWAIT is set bpo-39965: Correctly raise SyntaxError if await is used outside async functions when PyCF_ALLOW_TOP_LEVEL_AWAIT is set Mar 15, 2020
@pablogsal pablogsal added needs backport to 3.8 type-bug An unexpected behavior, bug, or error labels Mar 15, 2020
@pablogsal pablogsal merged commit 9023581 into python:master Mar 15, 2020
@miss-islington
Copy link
Contributor

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@pablogsal pablogsal deleted the no-async branch March 15, 2020 04:29
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 15, 2020
… functions when PyCF_ALLOW_TOP_LEVEL_AWAIT is set (pythonGH-19010)

(cherry picked from commit 9023581)

Co-authored-by: Pablo Galindo <[email protected]>
@bedevere-bot
Copy link

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

miss-islington added a commit that referenced this pull request Mar 15, 2020
… functions when PyCF_ALLOW_TOP_LEVEL_AWAIT is set (GH-19010)

(cherry picked from commit 9023581)

Co-authored-by: Pablo Galindo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants