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

[3.10] bpo-43833: Emit warnings for numeric literals followed by keyword (GH-25466) by miss-islington · Pull Request #26614 · python/cpython · GitHub

/ cpython Public

[3.10] bpo-43833: Emit warnings for numeric literals followed by keyword (GH-25466) - #26614

Merged
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-2ea6d89-3.10
Jun 8, 2021
Merged

[3.10] bpo-43833: Emit warnings for numeric literals followed by keyword (GH-25466)#26614
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-2ea6d89-3.10

Conversation

miss-islington commented Jun 8, 2021
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Emit a deprecation warning if the numeric literal is immediately followed by
one of keywords: and, else, for, if, in, is, or. Raise a syntax error with
more informative message if it is immediately followed by other keyword or
identifier.

Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit 2ea6d89)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

https://bugs.python.org/issue43833

…thonGH-25466)

Emit a deprecation warning if the numeric literal is immediately followed by
one of keywords: and, else, for, if, in, is, or. Raise a syntax error with
more informative message if it is immediately followed by other keyword or
identifier.

Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit 2ea6d89)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Copy link
Copy Markdown
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

Copy link
Copy Markdown
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

miss-islington merged commit eeefa7f into python:3.10 Jun 8, 2021
miss-islington deleted the backport-2ea6d89-3.10 branch June 8, 2021 23:52
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL