| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
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! |
Sorry, something went wrong.
|
I rebased and force-pushed now that #24110 has been merged to fix the broken docs so that CI will pass on this PR. |
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
|
(in response to stale label) This issue still exists in Python so the PR is relevant. |
Sorry, something went wrong.
|
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.) |
Sorry, something went wrong.
|
I've applied this patch to Python 3.9.1 in Fedora Rawhide. This fixes the problem. Before: Python 3.9.1 (default, Jan 27 2021, 00:00:00)
[GCC 11.0.0 20210123 (Red Hat 11.0.0-0)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 1+2
3+4
5+6
File "<stdin>", line 1
1+2
3+4
5+6
^
SyntaxError: multiple statements found while compiling a single statement
After: Python 3.9.1 (default, Jan 27 2021, 00:00:00) [GCC 11.0.0 20210210 (Red Hat 11.0.0-0)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> 1+2 3 >>> 3+4 7 >>> 5+6 11 >>> |
Sorry, something went wrong.
|
The setting needs to be disabled after each call to rl_read_init_file in case a user manually has enabled bracketed paste within their inputrc file. One is for when read_init_file is called from Python and the other is part of the module initialization. |
Sorry, something went wrong.
There was a problem hiding this comment.
The changelog entry could explain why is this needed a bit. Otherwise looks good to me, it fixes the problem. Thanks!
Sorry, something went wrong.
There was a problem hiding this comment.
minor formatting remarks, apart of that it LGTM
Sorry, something went wrong.
|
Nope, I'm good. Thanks |
Sorry, something went wrong.
|
Label it with the backport labels for miss Islington maybe? |
Sorry, something went wrong.
|
Thanks @dtrodrigues for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Sorry, something went wrong.
|
Thanks @dtrodrigues for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
Sorry, something went wrong.
|
GH-24545 is a backport of this pull request to the 3.9 branch. |
Sorry, something went wrong.
(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. |
Sorry, something went wrong.
(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. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This prevents bracketed paste from being enabled in the interactive interpreter so that paste works as expected.
https://bugs.python.org/issue42819