diff options
author | Dustin Rodrigues <dust.rod@gmail.com> | 2021-02-15 23:28:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-15 23:28:24 (GMT) |
commit | 755f3c1521b422bc2177013d289f5439975fdc4f (patch) | |
tree | b5c707af3d3442087470c94ff9a01ff171b55969 /Misc/NEWS.d | |
parent | 813db24f7c2c536d587d1832c3c52b44fa9e242e (diff) | |
download | cpython-755f3c1521b422bc2177013d289f5439975fdc4f.zip cpython-755f3c1521b422bc2177013d289f5439975fdc4f.tar.gz cpython-755f3c1521b422bc2177013d289f5439975fdc4f.tar.bz2 |
bpo-42819, readline: Disable bracketed paste (GH-24108)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2021-01-04-23-54-34.bpo-42819.4KO6wU.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-04-23-54-34.bpo-42819.4KO6wU.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-04-23-54-34.bpo-42819.4KO6wU.rst new file mode 100644 index 0000000..d067f0b --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2021-01-04-23-54-34.bpo-42819.4KO6wU.rst @@ -0,0 +1,8 @@ +:mod:`readline`: Explicitly disable bracketed paste in the interactive +interpreter, even if it's set in the inputrc, is enabled by default (eg GNU +Readline 8.1), or a user calls ``readline.read_init_file()``. The Python REPL +has not implemented bracketed paste support. Also, bracketed mode writes the +``"\x1b[?2004h"`` escape sequence into stdout which causes test failures in +applications that don't support it. It can still be explicitly enabled by +calling ``readline.parse_and_bind("set enable-bracketed-paste on")``. Patch by +Dustin Rodrigues. |