[spyder] Add patch that fix crash with latest ipython
Radek Novacek
rnovacek at fedoraproject.org
Mon Jan 2 11:09:08 UTC 2012
commit 25238101f670b74fe1670c9089b248481b18c84f
Author: Radek Novacek <rnovacek at redhat.com>
Date: Mon Jan 2 12:08:56 2012 +0100
Add patch that fix crash with latest ipython
spyder-2.1.6-fix-ipython-startup.patch | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/spyder-2.1.6-fix-ipython-startup.patch b/spyder-2.1.6-fix-ipython-startup.patch
new file mode 100644
index 0000000..dcf830d
--- /dev/null
+++ b/spyder-2.1.6-fix-ipython-startup.patch
@@ -0,0 +1,12 @@
+diff -up spyder-2.1.6/spyderlib/widgets/externalshell/startup.py.fix-ipython-startup spyder-2.1.6/spyderlib/widgets/externalshell/startup.py
+--- spyder-2.1.6/spyderlib/widgets/externalshell/startup.py.fix-ipython-startup 2012-01-02 12:00:48.005470637 +0100
++++ spyder-2.1.6/spyderlib/widgets/externalshell/startup.py 2012-01-02 12:00:56.324674704 +0100
+@@ -28,7 +28,7 @@ if os.environ.get('IPYTHON_KERNEL', Fals
+
+ # IPython >=v0.11 Kernel
+ from IPython.zmq.ipkernel import IPKernelApp
+- __ipythonkernel__ = IPKernelApp()
++ __ipythonkernel__ = IPKernelApp().instance()
+ __ipythonkernel__.initialize(sys.argv[1:])
+ __ipythonshell__ = __ipythonkernel__.shell
+ __ipythonkernel__.start()
More information about the scm-commits
mailing list