Attempt 2 at fixing bundled ipython (bz 1832673).

This commit is contained in:
Jerry James 2020-05-08 10:33:07 -06:00
parent 6b21278ce7
commit 20c8922c14
2 changed files with 5 additions and 9 deletions

View file

@ -1,7 +1,7 @@
diff -up build/pkgs/ipython/src/IPython/core/interactiveshell.py.orig build/pkgs/ipython/src/IPython/core/interactiveshell.py
--- build/pkgs/ipython/src/IPython/core/interactiveshell.py.orig 2018-07-28 18:24:17.000000000 -0600
+++ build/pkgs/ipython/src/IPython/core/interactiveshell.py 2020-05-07 09:19:44.916646996 -0600
@@ -2813,13 +2813,13 @@ class InteractiveShell(SingletonConfigur
@@ -2813,7 +2813,7 @@ class InteractiveShell(SingletonConfigur
try:
for i, node in enumerate(to_run_exec):
@ -10,13 +10,6 @@ diff -up build/pkgs/ipython/src/IPython/core/interactiveshell.py.orig build/pkgs
code = compiler(mod, cell_name, "exec")
if self.run_code(code, result):
return True
for i, node in enumerate(to_run_interactive):
- mod = ast.Interactive([node])
+ mod = ast.Interactive([node], [])
code = compiler(mod, cell_name, "single")
if self.run_code(code, result):
return True
diff -up build/pkgs/sagetex/src/extractsagecode.py.orig build/pkgs/sagetex/src/extractsagecode.py
--- build/pkgs/sagetex/src/extractsagecode.py.orig 2019-11-14 04:02:40.000000000 -0700
+++ build/pkgs/sagetex/src/extractsagecode.py 2020-02-25 13:42:46.674646884 -0700