Skip to content

gh-89158: Add some REPL secondary prompt markers #93073

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2022

Conversation

Gaasmann
Copy link
Contributor

@Gaasmann Gaasmann commented May 22, 2022

This fixes an issue on tutorial/classes.rst section 9.4 where the example "class Warehouse"
was truncated when pressing the >>> button to hide the prompts and output.

#89158

This fixes an issue on tutorial/classes.rst section 9.4 where the
example "class Warehouse" was truncated when pressing the >>> button to
hide the prompts and output.
@bedevere-bot
Copy link

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@bedevere-bot bedevere-bot added docs Documentation in the Doc dir awaiting review labels May 22, 2022
@terryjreedy
Copy link
Member

terryjreedy commented May 22, 2022

@Gaasmann Have you signed the CLA yet? The CLA seems 'stuck'. Will close/open to try to trigger it.

This PR makes Warehouse consistent with the previous Complex class above. It should fix the bug. The alternative would be to make it consistent with class Dog above. I don't care. I agree with skipping news item.

I adjusted title and commit message. Thank you for making PR.

@terryjreedy terryjreedy added needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes labels May 22, 2022
@terryjreedy terryjreedy reopened this May 22, 2022
@terryjreedy terryjreedy merged commit 88f0d0c into python:main May 23, 2022
@miss-islington
Copy link
Contributor

Thanks @Gaasmann for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-93087 is a backport of this pull request to the 3.11 branch.

@bedevere-bot
Copy link

GH-93088 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label May 23, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 23, 2022
This fixes an issue on tutorial/classes.rst section 9.4 where the example "class Warehouse"
was truncated when pressing the >>> button to hide the prompts and output.
(cherry picked from commit 88f0d0c)

Co-authored-by: Nicolas Haller <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 23, 2022
This fixes an issue on tutorial/classes.rst section 9.4 where the example "class Warehouse"
was truncated when pressing the >>> button to hide the prompts and output.
(cherry picked from commit 88f0d0c)

Co-authored-by: Nicolas Haller <[email protected]>
miss-islington added a commit that referenced this pull request May 23, 2022
This fixes an issue on tutorial/classes.rst section 9.4 where the example "class Warehouse"
was truncated when pressing the >>> button to hide the prompts and output.
(cherry picked from commit 88f0d0c)

Co-authored-by: Nicolas Haller <[email protected]>
miss-islington added a commit that referenced this pull request May 23, 2022
This fixes an issue on tutorial/classes.rst section 9.4 where the example "class Warehouse"
was truncated when pressing the >>> button to hide the prompts and output.
(cherry picked from commit 88f0d0c)

Co-authored-by: Nicolas Haller <[email protected]>
@Gaasmann Gaasmann deleted the gh-89158 branch May 23, 2022 15:02
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 skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants