-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-42819: disable Readline bracketed paste #24108
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-42819: disable Readline bracketed paste #24108
Conversation
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
dea83c3
to
838a248
Compare
I rebased and force-pushed now that #24110 has been merged to fix the broken docs so that CI will pass on this PR. |
This PR is stale because it has been open for 30 days with no activity. |
(in response to stale label) This issue still exists in Python so the PR is relevant. |
I'll test this. In the meantime, could you please explain why is the addition needed at two different places? Thanks. (Note that I am not familiar with readline or the way Python uses it, I'm just the Fedora Python maintainer who saw your email on the python-dev list and realized that this also affects Fedora because we have updated as well and I've already been hit by that.) |
I've applied this patch to Python 3.9.1 in Fedora Rawhide. This fixes the problem. Before:
After:
|
The setting needs to be disabled after each call to One is for when |
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.
The changelog entry could explain why is this needed a bit. Otherwise looks good to me, it fixes the problem. Thanks!
Misc/NEWS.d/next/Core and Builtins/2021-01-04-23-54-34.bpo-42819.4KO6wU.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Core and Builtins/2021-01-04-23-54-34.bpo-42819.4KO6wU.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Core and Builtins/2021-01-04-23-54-34.bpo-42819.4KO6wU.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Core and Builtins/2021-01-04-23-54-34.bpo-42819.4KO6wU.rst
Outdated
Show resolved
Hide resolved
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.
minor formatting remarks, apart of that it LGTM
Misc/NEWS.d/next/Core and Builtins/2021-01-04-23-54-34.bpo-42819.4KO6wU.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Core and Builtins/2021-01-04-23-54-34.bpo-42819.4KO6wU.rst
Outdated
Show resolved
Hide resolved
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.
LGTM. @hroncok: do you want to review the updated PR?
Nope, I'm good. Thanks |
Label it with the backport labels for miss Islington maybe? |
Thanks @dtrodrigues for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Thanks @dtrodrigues for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
GH-24545 is a backport of this pull request to the 3.9 branch. |
(cherry picked from commit 755f3c1) Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com>
GH-24546 is a backport of this pull request to the 3.8 branch. |
(cherry picked from commit 755f3c1) Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com>
Thanks @dtrodrigues! I merged your PR and I'm backporting it to 3.8 and 3.9 branches. |
This prevents bracketed paste from being enabled in the interactive interpreter so that paste works as expected.
https://bugs.python.org/issue42819