[pypy-commit] pypy py3.5: Disable the insert key (and equivalents) in PyPy 3 (possibly until someone complains)

arigo pypy.commits at gmail.com
Thu Mar 23 12:51:46 EDT 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r90798:63f85f548a14
Date: 2017-03-23 17:51 +0100
http://bitbucket.org/pypy/pypy/changeset/63f85f548a14/

Log:	Disable the insert key (and equivalents) in PyPy 3 (possibly until
	someone complains)

diff --git a/lib_pypy/pyrepl/commands.py b/lib_pypy/pyrepl/commands.py
--- a/lib_pypy/pyrepl/commands.py
+++ b/lib_pypy/pyrepl/commands.py
@@ -384,4 +384,7 @@
 class quoted_insert(Command):
     kills_digit_arg = 0
     def do(self):
-        self.reader.push_input_trans(QITrans())
+        # XXX in Python 3, processing insert/C-q/C-v keys crashes
+        # because of a mixture of str and bytes.  Disable these keys.
+        pass
+        #self.reader.push_input_trans(QITrans())


More information about the pypy-commit mailing list