[accerciser/gnome-3-36] IPython: do not use autoedit_syntax



commit 563a65885aa3858d5bcc4dbe5fa9c9095d54d9ac
Author: Rok Mandeljc <rok mandeljc gmail com>
Date:   Thu Apr 16 20:33:54 2020 +0200

    IPython: do not use autoedit_syntax
    
    It was removed in IPython 5.x, and had apparently been broken for
    many years before that.

 plugins/ipython_view.py | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/plugins/ipython_view.py b/plugins/ipython_view.py
index 317545b..23b1553 100755
--- a/plugins/ipython_view.py
+++ b/plugins/ipython_view.py
@@ -191,9 +191,6 @@ class IterableIPShell:
         self.IP.input_splitter.push(line)
         self.iter_more = self.IP.input_splitter.push_accepts_more()
       self.prompt = self.generatePrompt(self.iter_more)
-      if (self.IP.SyntaxTB.last_syntax_error and
-          self.IP.autoedit_syntax):
-          self.IP.edit_syntax_error()
       if not self.iter_more:
           if self.no_input_splitter:
             source_raw = '\n'.join(self.lines)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]