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

bpo-43199: Briefly explain why no goto by terryjreedy · Pull Request #24852 · python/cpython · GitHub

Repository navigation

bpo-43199: Briefly explain why no goto - #24852

Merged
terryjreedy merged 4 commits into
python:masterfrom
terryjreedy:nogo
Mar 14, 2021
Merged

terryjreedy merged 4 commits into
python:masterfrom
terryjreedy:nogo

Conversation

terryjreedy commented Mar 13, 2021 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Answer "Why is there no goto?" in the Design and History FAQ.

https://bugs.python.org/issue43199

Answer "Why is there no goto?" in the Design and History FAQ.

Fidget-Spinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for taking the time to do this. I feel that this answers the Why is there no goto? question more directly.

Comment thread Doc/faq/design.rst Outdated
Comment on lines +607 to +608
and 'or' and 'and' expressions) and loop (while and for statements
with continue and break statements).

Fidget-Spinner Mar 14, 2021 •
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Since we're already marking out or and and, might as well do so for the rest to make the sentence clearer.

Suggested change
and 'or' and 'and' expressions) and loop (while and for statements
with continue and break statements).
and ``or`` and ``and`` expressions) and loop (``while`` and ``for`` statements
with ``continue`` and ``break`` statements).

terryjreedy merged commit 5e29021 into python:master Mar 14, 2021

Copy link
Copy Markdown
Contributor

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

terryjreedy deleted the nogo branch March 14, 2021 22:12
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 14, 2021
Answer "Why is there no goto?" in the Design and History FAQ.
(cherry picked from commit 5e29021)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 14, 2021
Answer "Why is there no goto?" in the Design and History FAQ.
(cherry picked from commit 5e29021)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>

Copy link
Copy Markdown

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

Copy link
Copy Markdown
Member Author

@Fidget-Spinner Thanks for the helpful review.

sthagen added a commit to sthagen/python-cpython that referenced this pull request Mar 14, 2021
bpo-43199: Briefly explain why no goto (pythonGH-24852)
miss-islington added a commit that referenced this pull request Mar 15, 2021
Answer "Why is there no goto?" in the Design and History FAQ.
(cherry picked from commit 5e29021)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington added a commit that referenced this pull request Mar 15, 2021
Answer "Why is there no goto?" in the Design and History FAQ.
(cherry picked from commit 5e29021)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
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

docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL