Skip to content
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

bpo-38041: Refine IDLE Shell restart lines. #15709

Merged
merged 11 commits into from
Sep 6, 2019

Conversation

terryjreedy
Copy link
Member

@terryjreedy terryjreedy commented Sep 6, 2019

Restart lines now always start with '=' and never end with ' ' and fill the width of the window unless that would require ending with ' ', which could be wrapped by itself and possible confusing the user.

https://bugs.python.org/issue38041

@terryjreedy
Copy link
Member Author

Tal, I believe that this is ready and expect to merge it tomorrow, as indicated by the idlelib news entry. But take a look if you want and have time.

Copy link
Contributor

@taleinat taleinat left a comment

Choose a reason for hiding this comment

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

I like this change overall. I made a few comments but nothing major.

Lib/idlelib/pyshell.py Outdated Show resolved Hide resolved
Lib/idlelib/pyshell.py Show resolved Hide resolved
Lib/idlelib/pyshell.py Outdated Show resolved Hide resolved
Lib/idlelib/NEWS.txt Outdated Show resolved Hide resolved
Lib/idlelib/idle_test/test_pyshell.py Outdated Show resolved Hide resolved
terryjreedy and others added 2 commits September 6, 2019 04:00
Co-Authored-By: Tal Einat <taleinat+github@gmail.com>
Co-Authored-By: Tal Einat <taleinat+github@gmail.com>
@terryjreedy
Copy link
Member Author

I am up much later than I should be. Will finish revisions after sleeping. Thank you for the improvements.

@terryjreedy terryjreedy merged commit 38da805 into python:master Sep 6, 2019
@terryjreedy terryjreedy deleted the restart branch September 6, 2019 17:54
@miss-islington
Copy link
Contributor

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

@bedevere-bot
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 6, 2019
 Restart lines now always start with '=' and never end with ' ' and fill the width of the window unless that would require ending with ' ', which could be wrapped by itself and possible confusing the user.
(cherry picked from commit 38da805)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-bot
Copy link

GH-15720 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 6, 2019
 Restart lines now always start with '=' and never end with ' ' and fill the width of the window unless that would require ending with ' ', which could be wrapped by itself and possible confusing the user.
(cherry picked from commit 38da805)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington added a commit that referenced this pull request Sep 6, 2019
 Restart lines now always start with '=' and never end with ' ' and fill the width of the window unless that would require ending with ' ', which could be wrapped by itself and possible confusing the user.
(cherry picked from commit 38da805)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington added a commit that referenced this pull request Sep 6, 2019
 Restart lines now always start with '=' and never end with ' ' and fill the width of the window unless that would require ending with ' ', which could be wrapped by itself and possible confusing the user.
(cherry picked from commit 38da805)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
 Restart lines now always start with '=' and never end with ' ' and fill the width of the window unless that would require ending with ' ', which could be wrapped by itself and possible confusing the user.
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
 Restart lines now always start with '=' and never end with ' ' and fill the width of the window unless that would require ending with ' ', which could be wrapped by itself and possible confusing the user.
websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
 Restart lines now always start with '=' and never end with ' ' and fill the width of the window unless that would require ending with ' ', which could be wrapped by itself and possible confusing the user.
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