FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-39965: Correctly raise SyntaxError if await is used outside async functions when PyCF_ALLOW_TOP_LEVEL_AWAIT is set by pablogsal · Pull Request #19010 · python/cpython · GitHub

/ cpython Public

bpo-39965: Correctly raise SyntaxError if await is used outside async functions when PyCF_ALLOW_TOP_LEVEL_AWAIT is set - #19010

Merged
pablogsal merged 1 commit into
python:masterfrom
pablogsal:no-async
Mar 15, 2020
Merged

bpo-39965: Correctly raise SyntaxError if await is used outside async functions when PyCF_ALLOW_TOP_LEVEL_AWAIT is set#19010
pablogsal merged 1 commit into
python:masterfrom
pablogsal:no-async

Conversation

pablogsal commented Mar 15, 2020
edited
Loading

Copy link
Copy Markdown
Member

… functions when PyCF_ALLOW_TOP_LEVEL_AWAIT is set
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 added needs backport to 3.8 type-bug An unexpected behavior, bug, or error labels Mar 15, 2020
pablogsal merged commit 9023581 into python:master Mar 15, 2020

Copy link
Copy Markdown
Contributor

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

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 <Pablogsal@gmail.com>

Copy link
Copy Markdown

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 <Pablogsal@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL