-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line #11307
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
Conversation
@auvipy When you review, please leave a comment that might help me make a decision. I don't know what mere '[x] Approve' means beyond the CI checks passing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will make the changes requested and add a couple of comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I verified that grepping idlelib recursively for 'context_use_ps1' returns nothing.
Will merge.
Thanks @csabella for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7. |
…thonGH-11307) Changes in bpo- 31858 made the less informative 'context_use_ps1' redundant. (cherry picked from commit 6bdc4de) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
GH-13747 is a backport of this pull request to the 3.7 branch. |
…thonGH-11307) Changes in bpo- 31858 made the less informative 'context_use_ps1' redundant.
#4143 for issue 31858 fixed some uses of the shell prompt and removed setting
context_use_ps1
in pyshell, but not in editor. That partial removal was a mistake since the attribute was still used in hyperparser (and some tests). #11346 for issue 34055 reversed the removal. This PR removes both settings of 'context_use_ps1' and replaces all uses with 'prompt_last_line, which is only non-empty in Shell.https://bugs.python.org/issue35610